News for hackers. Stuff that matters.
Re:WTFJS? by olavk on Saturday February 13, 2010 @07:06AM (#1122937)
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.

There are no comments on this comment yet.