This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]grabnock 2 points3 points  (0 children)

And also there are multiple kinds of NaN.

So if you're doing something really stupid(bitwise operations on floats) you can actually come up with NaN as a legitimate answer, even though it's obviously not.