Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
edflsafoiewq
on Feb 8, 2023
|
parent
|
context
|
favorite
| on:
Why does 0.1 and 0.2 = 0.30000000000000004?
Fixed point behaves well under addition and multiplication by integers. Otherwise it isn't very good. There are far more numbers in the range (1,infinity) than (0,1) for example, so 1/x loses catastrophic amounts of information.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: