News for hackers. Stuff that matters.
Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by perihelions on Tuesday September 19, 2023 @01:01PM (#37572882)
- "or end up with an error right before multiplying a now wrong per-unit value with some large-ish factor."

Where in financial accounting do people multiply an amount of money by a multiplicand larger than order-of-unity?

Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by vidarh on Tuesday September 19, 2023 @01:05PM (#37572949)
In accounting, no, while preparing input to the accounting in the form of generating invoices, I've lost count (sorry) of the number of times I've seen people doing tax calculations etc. on unit prices and then multiplying by number of units ordered, and then further compounding potential issues by adding up these numbers from multiple invoice lines. None of which is usually the right thing to do, all of which you often "get away with" without causing sufficient discrepancies, and so which people often fail to catch in testing. Until you suddenly don't.
Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by perihelions on Tuesday September 19, 2023 @01:07PM (#37572966)
- "multiplying by number of units ordered,"

Yeah, that's one example. I wasn't imaginative enough; thanks!