HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by aartaka | Hacker News Reader
Parent
Full thread
aartaka
·
Will do.
View on HN
jffhn
·
If both terms are infinites and of same sign, subtraction will give NaN and it will fail.
listeria
·
How is that a problem? infinities shouldn't be considered equal
jffhn
·
For IEEE 754, and in Java for example, they are. Only NaN is not equal to itself (and different from itself).
Reply on news.ycombinator.com