Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mschuetz
on March 2, 2017
|
parent
|
context
|
favorite
| on:
How many floating-point numbers are in the interva...
I'm in favour of 1.0 / 0.0 = Infinity, as in the current IEEE floating point standard. It makes much more sense with many algorithms. Checking whether the denominator is 0 or not costs time and unnecessarely bloats the code.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: