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

We agree, on additions, floats are tricky. But still, on division, multiplications, they're not any worse. Dividing something by 3 will end up in an infinite number of decimals that you'll have to round at some point (except if we use what you proposed : fractions; in that case that's a completely different story).


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

Search: