Hacker News new | ask | show | jobs
by dragonwriter 4367 days ago
> The only reason this is confusing for people is because they aren't familiar with IEEE 754 floating-point numbers and their representations.

NaN is part of IEEE 754, but it is not a number.

The reason people are confused is because the JS datatype name has a small but critical disconnect from what the values it contains are.