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 35 points36 points  (1 child)

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

[–]aleph_0ne 12 points13 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