Re:There Are Only Four Billion Floats – So Test Them All
by thedufer on Tuesday January 28, 2014 @09:15AM
(#7137129)
> It almost makes me feel sick to think that Javascript stores all numbers as doubles.
That's not actually true. JS engines are highly optimized. For example, anything that fits in a 32-bit int (and is an integer, of course) is stored as such, at least in V8.
That's not actually true. JS engines are highly optimized. For example, anything that fits in a 32-bit int (and is an integer, of course) is stored as such, at least in V8.