You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each value type has an associated default value, however only numeric types and
reference types are listed, while there are also values of vector types.
Copy file name to clipboardExpand all lines: document/core/exec/runtime.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,11 +51,11 @@ or *external references* pointing to an uninterpreted form of :ref:`extern addre
51
51
.. _default-val:
52
52
53
53
Each :ref:`value type <syntax-valtype>` has an associated *default value*;
54
-
it is the respective value :math:`0` for :ref:`number types <syntax-numtype>` and null for :ref:`reference types <syntax-reftype>`.
54
+
it is the respective value :math:`0` for :ref:`number types <syntax-numtype>` and :ref:`vector types <syntax-vectype>`, and null for :ref:`reference types <syntax-reftype>`.
55
55
56
56
.. math::
57
57
\begin{array}{lcl@{\qquad}l}
58
-
\default_t &=& t{.}\CONST~0 & (\iff t = \numtype) \\
58
+
\default_t &=& t{.}\CONST~0 & (\iff t = \numtype\vee t = \vectype) \\
59
59
\default_t &=& \REFNULL~t & (\iff t = \reftype) \\
0 commit comments