Skip to content

Commit

Permalink
Editorial: Add note that roundtripping ToIntegerOrInfinity never prod…
Browse files Browse the repository at this point in the history
…uces -0 (tc39#2884)
  • Loading branch information
syg authored and ljharb committed Sep 1, 2022
1 parent aacf6d3 commit f2aed96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -5160,6 +5160,9 @@ <h1>
1. If _number_ &lt; *-0*<sub>𝔽</sub>, set _integer_ to -_integer_.
1. Return _integer_.
</emu-alg>
<emu-note>
𝔽(ToIntegerOrInfinity(_x_)) never returns *-0*<sub>𝔽</sub> for any value of _x_. The truncation of the fractional part is performed after converting _x_ to a mathematical value.
</emu-note>
</emu-clause>

<emu-clause id="sec-toint32" type="abstract operation">
Expand Down

0 comments on commit f2aed96

Please sign in to comment.