Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
t8sr
on Feb 8, 2023
|
parent
|
context
|
favorite
| on:
Why does 0.1 and 0.2 = 0.30000000000000004?
If you simply look at any of the real world implementations, you'll see it's not so easy. Rust has a few readable and educational crates that implement decimals, if you want to take a look.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: