Skip to content

Commit 218c93e

Browse files
committed
[spec] Clarifying note about canonical NaNs (WebAssembly#1614)
1 parent 541abcb commit 218c93e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

document/core/syntax/values.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ An *arithmetic NaN* is a floating-point value :math:`\pm\NAN(n)` with :math:`n
140140
.. note::
141141
In the abstract syntax, subnormals are distinguished by the leading 0 of the significand. The exponent of subnormals has the same value as the smallest possible exponent of a normal number. Only in the :ref:`binary representation <binary-float>` the exponent of a subnormal is encoded differently than the exponent of any normal number.
142142

143+
The notion of canonical NaN defined here is unrelated to the notion of canonical NaN that the |IEEE754|_ standard (Section 3.5.2) defines for decimal interchange formats.
144+
143145
Conventions
144146
...........
145147

0 commit comments

Comments
 (0)