Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bubblethink
· 9y ago · 0 comments
Why is that so ? If you can do a<b and a>b reliably, you can get equality as !(a<b || b<a). Inequality has the same issues for very close values.
Comments
[–]
greglindahl
9y ago
Try putting NaN into your equation: not equal to itself.