Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
astrobe_
on Aug 12, 2016
|
parent
|
context
|
favorite
| on:
Return True to Win
Does that spec forces you to implement equality test between floating point numbers?
Zarel
on Aug 12, 2016
[–]
...yes? I'm not sure exactly what you're asking here, though.
astrobe_
on Aug 12, 2016
|
parent
[–]
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.
Myrmornis
on Aug 13, 2016
|
root
|
parent
[–]
So disallow the direct operator but allow equality to be deduced indirectly by usage of > < >= <= ?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: