Skip to content

Commit

Permalink
Fix typo in spec (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gudahtt authored Dec 11, 2024
1 parent 1845aca commit c8d64e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ location: https://github.com/tc39/proposal-decimal/
<li>MV(*-0*<sub>𝔻</sub>) = 0</li>
<li>MV(_v_) = _v_ (provided _v_ is neither *+0*<sub>𝔻</sub> nor *-0*<sub>𝔻</sub>)</li>
</ul>
<p>Decimal128 values defined in this section are ECMAScript analogues of <emu-xref href="#sec-bibliography">IEEE 754-2019 Decimal128 values</emu-xref>. It is important to note that the full spectrum of values defined by IEEE 754-2019 Decimal128 are not available here, namely non-canonical Decimal128 values, which can be underdtood as values containing trailing zeroes. Also, this specification simplifies IEEE 754-2019 Decimal128 in a further way: there is only one Decimal128 value, NaN<sub>𝔻</sub>, representing all possible IEEE 754-2019 Decimal128 NaN values.</p>
<p>Decimal128 values defined in this section are ECMAScript analogues of <emu-xref href="#sec-bibliography">IEEE 754-2019 Decimal128 values</emu-xref>. It is important to note that the full spectrum of values defined by IEEE 754-2019 Decimal128 are not available here, namely non-canonical Decimal128 values, which can be understood as values containing trailing zeroes. Also, this specification simplifies IEEE 754-2019 Decimal128 in a further way: there is only one Decimal128 value, NaN<sub>𝔻</sub>, representing all possible IEEE 754-2019 Decimal128 NaN values.</p>
<p>A <dfn id="dfn-decimal128-rounding-mode">Decimal128 rounding mode</dfn> is one of the String values *"ceil"*, *"floor"*, *"trunc"*, *"halfExpand"*, and *"halfEven"*. The <dfn id="dfn-decimal128-default-rounding-mode">default rounding mode</dfn> is the String value *"halfEven"*.</p>
<emu-table id="table-decimal128-rounding-modes">
<emu-caption>Rounding modes in Decimal128 compared to IEEE 754-2019 rounding modes</emu-caption>
Expand Down

0 comments on commit c8d64e7

Please sign in to comment.