4 ms·
There's a really great SO on why this is an IEEE standard: https://stackoverflow.com/questions/1565164/what-is-the-rationale-for-all-comparisons-returning-false
by fny 9y ago
There's a really great SO on why this is an IEEE standard: https://stackoverflow.com/questions/1565164/what-is-the-rationale-for-all-comparisons-returning-false-for-ieee754-nan-values https://stackoverflow.com/questions/1565164/what-is-the-rati...
- tambourine_man 9y agoGreat discussion indeed. I was thinking along the same lines, the comparison may be meaningless, but “false” is not a good answer either, even though a Boolean is either true or false by definition and NotABool would be even more crazy. What a rabbit hole.