Re:The Fundamental Axiom of Floating Point Arithmetic
by kd5bjo on Tuesday August 11, 2020 @07:07AM
(#24119106)
> If you have errors in your paper ledger, you're not much of an accountant.
That’s because accounting practice has solidified certain inevitable innaccuracies as “the way things are done.” Any method that doesn’t produce the same accounting-correct but mathematically-imprecise results is “wrong,” and those innaccuracies are based on a fixed-point model.
Secondly, you can implement pencil-and-paper rounding rules using binary floating point! It's done by serializing to decimal text, working with the digits (perhaps as integers) and then converting back to floating point.
> those errors don’t match the ones you get when using a paper ledger.
If you have errors in your paper ledger, you're not much of an accountant.