News for hackers. Stuff that matters.
Re:Be careful with JS numbers by malkia on Sunday January 13, 2013 @04:14PM (#5051878)
Is this in the JS standard, or is this in just some implementations?
Re:Be careful with JS numbers by VMG on Sunday January 13, 2013 @04:36PM (#5051943)
http://interglacial.com/javascript_spec/a-8.html

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