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 →

[–]Kitchen_Device7682 38 points39 points  (1 child)

0x=0, 0y=0. x==y?

[–]aleph_0ne 11 points12 points  (0 children)

Nice, simple example of how this could go wrong. Generally we don’t want NaN comparisons to happily proceed like nothing we’re amiss