Hacker News new | past | comments | ask | show | jobs | submit login

I can give you 1.0 error. Take a handful of numbers that add up to 1.5, sum them, and then round that result to the nearest unit.

I'm too lazy to figure out a specific example, but sets of numbers where doubles round up and decimals round down (or vice versa) aren't terribly uncommon.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: