Re:Return True to Win
by XaspR8d on Friday August 12, 2016 @11:26AM
(#12276423)
So you disagree with the IEEE floating point specification, then? Javascript is directly following spec there.
[ Parent
| on HN ]
Do you think that such rule for NaN state is useful?
Does that spec forces you to implement equality test between floating point numbers?
...yes? I'm not sure exactly what you're asking here, though.
I'm asking if it is really a good idea for a language to provide equality/inequality for floating point numbers when it's often mistake to do that.