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

I see your 10^14 Zimbabwe Dollar Note and raise you this 10^20 Hungarian pengő,

https://en.wikipedia.org/wiki/Hungarian_pengő (caption: "100 million trillion (100 quintillion) pengő (1946)")

At its nadir (US$ 1.0 = 4.6*10^29 P), a reasonable-sized transaction denominated in, for example, micro-pengős, would have overflowed a uint128_t.

Conclusion: just use floating point, it's inflation-proof.



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

Search: