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

While IEEE 754 does have curiosities, the 1/10 problem the article points out isn't really addressed by anything mentioned in the article (or here). BCDs have exactly the same problem with e.g. 1/3.

What you really want is a rational (fractional value: numerator and denominator) of some form.



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

Search: