Re: [heycam/webidl] Carry out math operations on real numbers, not IEEE 754. (#316)

domenic commented on this pull request.



> @@ -6815,7 +6825,7 @@ may return any value, which will be discarded.
         1.  Round |x| to the nearest integer, choosing the even integer if it lies halfway between two,
             and choosing +0 rather than −0.
         1.  Return |x|.
-    1.  If |x| is <emu-val>NaN</emu-val>, +0, −0, +∞, or −∞,
+    1.  If |x| is <emu-val>NaN</emu-val>, +∞, or −∞,

I'm sorry, I don't understand. This seems to change behavior in a probably-undesirable way, as it now executes the next few steps if x is +0, whereas before this patch those steps are not executed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/316#discussion_r102529614

Received on Wednesday, 22 February 2017 18:00:27 UTC