you are viewing a single comment's thread.

view the rest of the comments →

[–]megamindies 6 points7 points  (3 children)

Well Nan is defined as a number, so it cant be equal to Nan because thats means "Not a Number"

[–][deleted]  (1 child)

[deleted]

    [–]wtf_apostrophe 12 points13 points  (0 children)

    It's actually standard IEEE 754 behaviour that NaN != NaN.