Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just did some ownership percentage stuff where it's not uncommon to go 16 decimal places out...working with JavaScript on this was a pain. Never thought I'd care about that .00000000000001 difference hah...


floating point works best near 0, most of the numbers it can represent lie near 0 (negative exponent is a number less than 1).




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

Search: