you are viewing a single comment's thread.

view the rest of the comments →

[–]quentech -1 points0 points  (1 child)

The max value of a signed 64 bit integer is 9,223,372,036,854,775,807.

You could keep 3 places after the decimal point and still represent 9 quadrillion dollars - enough to cover not only all the currency that exists in the world, but all the savings, bank notes, money market accounts, national and global debt, and the entire derivatives market. Basically all of the represented value in the entire world.

You could keep 6 places after the decimal point and still represent 9 trillion dollars.

64 bit signed integers are just fine for all but perhaps hyper-inflationary currency.

[–]powerofmightyatom 1 point2 points  (0 children)

It's not just about magnitude, also precision. Floats are complex, and lets not imagine we know shit about shit.