Skip to content

Commit

Permalink
Editorial: Delete <emu-note> in TimeClip clause
Browse files Browse the repository at this point in the history
PR tc39#1827 (among other things) removed step 4 from the algorithm for TimeClip,
obsoleting the accompanying emu-note that describes "the point of step 4".

Conceivably, the note could be reworded to describe the effect of
'ToInteger' on step 3, but I don't think it'd be worth the bother.
  • Loading branch information
jmdyck committed Apr 24, 2020
1 parent 5d20ef2 commit 9d046c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -28542,9 +28542,6 @@ <h1>TimeClip ( _time_ )</h1>
1. If abs(_time_) &gt; 8.64 &times; 10<sup>15</sup>, return *NaN*.
1. Return ! ToInteger(_time_).
</emu-alg>
<emu-note>
<p>The point of step 4 is that an implementation is permitted a choice of internal representations of time values, for example as a 64-bit signed integer or as a 64-bit floating-point value. Depending on the implementation, this internal representation may or may not distinguish *-0* and *+0*.</p>
</emu-note>
</emu-clause>

<emu-clause id="sec-date-time-string-format">
Expand Down

0 comments on commit 9d046c3

Please sign in to comment.