News for hackers. Stuff that matters.
Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by dahfizz on Tuesday September 19, 2023 @08:41AM (#37569097)
These systems use something like 10^-8 as the implied decimal in the real world. Some forex exchanges even go to 10^-9
Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by out_of_protocol on Tuesday September 19, 2023 @09:14AM (#37569503)
Fiat currency can go to -4 i think, crypto currency going to -18. And that's whole units like cents P.S. crypto things are using uint256 internally, and this type don't exist in most languages. Using int64 can work out, sometimes, and will usually break soon enough