stackoverflow.com/questions/10034149/why-is-nan-not-equal-to-nan

The relevant IEEE standard defines a numeric constant NaN (not a number) and prescribes that NaN should compare as not equal to itself. Why is that?

All the languages I'm familiar with implement t...


Comments (0)

Sign in to post comments.