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

Oh, this does sound odd indeed. I can only assume this is very slow, and voluminous on the storage side.

In a similar vein, the only "tricky" solution I saw once was a financial system that stored rational numbers as fractions, and used fractions for all computations too. A decimal point was only used for the final results (end-user UI, APIs, etc.). I still think it was a an overkill.



Interesting, were the denominators always powers of 10? Or any positive integer?




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

Search: