Re: [heycam/webidl] Is -0 < 0, regarding [EnforceRange]? (#306)

Well.  The return value of ToNumber is an ES Number, and those are defined https://tc39.github.io/ecma262/#sec-ecmascript-language-types-number-type as:

> The Number type has exactly 18437736874454810627 (that is, 2^64-2^53+3) values, representing the double-precision 64-bit format IEEE 754-2008 values as specified in the IEEE Standard for Binary Floating-Point Arithmetic, except that the 9007199254740990 (that is, 2^53-2) distinct “Not-a-Number” values of the IEEE Standard are represented in ECMAScript as a single special NaN value. 

We could try to be more explicit here, I guess, but we're working with a Number value here....

-- 
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/issues/306#issuecomment-279708557

Received on Tuesday, 14 February 2017 13:37:25 UTC