Hacker News new | ask | show | jobs
by saagarjha 2915 days ago
But only when imposing a total ordering.
1 comments

that’s not the case, in IEE754 floating point, zero is signed - i.e negative and positive zero are distinct values
But the standard comparison operators don’t distinguish them.