3 ms·
The people writing the JavaScript that demonstrates the wtf. I can see that some of the design decisions in IEEE-754, like NaN not beeing equal to NaN might se
by olavk 17y ago
The people writing the JavaScript that demonstrates the wtf.
I can see that some of the design decisions in IEEE-754, like NaN not beeing equal to NaN might seem unintuitive, but it has nothing to do with JavaScript - the standard is implemented by numerous languages and hardware.
That large numbers are rounded to a limited precision should not even be wtf if you think about it for a moment. Otherwise a single use of PI would fill up all the computer memory.