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

tobie 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 −∞,

You're right. This should be 0 to be consistant with turning both −0 and +0 to 0, and +0 otherwise.

-- 
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_r102530727

Received on Wednesday, 22 February 2017 18:05:13 UTC