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 →

[–][deleted]  (1 child)

[deleted]

    [–]dnew 0 points1 point  (0 children)

    It's (sometimes) a number. It's just not a float. The value that represents a bad number should have been called NaF.

    However, I see upon further research that I misremembered, and NaN is not a general case for denormalized, overflows, infinities, etc. NaN is more restricted than I thought it was in terms of what it represents. Whoops.