Y
Hacker News
new
|
ask
|
show
|
jobs
by
astrobe_
3602 days ago
Does that spec forces you to implement equality test between floating point numbers?
1 comments
Zarel
3602 days ago
...yes? I'm not sure exactly what you're asking here, though.
link
astrobe_
3602 days ago
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.
link
Myrmornis
3602 days ago
So disallow the direct operator but allow equality to be deduced indirectly by usage of > < >= <= ?
link