Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’?
by atemerev on Tuesday September 19, 2023 @08:39AM
(#37569087)
Division. 1/x is a common operation in finance (particularly in trading), and you'll get all sorts of trouble if you try to express everything in cents.
So, you'll need subpenny fractions (e.g. 8 decimal points), or BigDecimal, or decimal-normalized floats.
So, you'll need subpenny fractions (e.g. 8 decimal points), or BigDecimal, or decimal-normalized floats.