Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
XaspR8d
on Aug 12, 2016
|
parent
|
context
|
favorite
| on:
Return True to Win
So you disagree with the IEEE floating point specification, then? Javascript is directly following spec there.
effie
on Aug 12, 2016
|
next
[–]
Do you think that such rule for NaN state is useful?
astrobe_
on Aug 12, 2016
|
prev
[–]
Does that spec forces you to implement equality test between floating point numbers?
Zarel
on Aug 12, 2016
|
parent
[–]
...yes? I'm not sure exactly what you're asking here, though.
astrobe_
on Aug 12, 2016
|
root
|
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: