News for hackers. Stuff that matters.
Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by formerly_proven on Tuesday September 19, 2023 @09:18AM (#37569547)
> I looked at the software, it had two separate copies of the invoice calculation (separate for on screen and for printing to PDF). And of course it would send the invoice to the accounting software which calculated the invoice in a different way still.

Your setup made it sound like something crazy and inane, like "the PDF printer used on those machines changed floating point rounding modes" or what have you.

Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by onetimeuse92304 on Tuesday September 19, 2023 @09:23AM (#37569612)
In olden times we would "print to PDF" as in have a little piece of code to format the document that would be sent to a printer which could be a PDF document.

In this particular case we had two separate pieces of code, one running on the client (for on screen presentation) and one on the backend (to create the PDF on a shared location and produce a download URL).

Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’? by pjc50 on Tuesday September 19, 2023 @10:21AM (#37570361)
There was the famous "Xerox photocopier changes digits sometimes" bug, but that's not what's happening here.