3 ms·
Interesting! This appears to be implementing Decimal32, Decimal64, and Decimal128 [1]. It's worth remembering that the "first" computer, the ENIAC, used decima
by FullyFunctional 9y ago
Interesting! This appears to be implementing Decimal32, Decimal64, and Decimal128 [1].
It's worth remembering that the "first" computer, the ENIAC, used decimal arithmetic. A decimal arithmetic package was one of the first things I wrote for my Z-80
homecomputer as I couldn't imagine anyone working with
money using binary floating point! [2] That said, isn't
Fintech mostly using scaled integers these days?
[1] https://en.wikipedia.org/wiki/Decimal32_floating-point_format https://en.wikipedia.org/wiki/Decimal32_floating-point_forma...
[2] My horror was refreshed recently when I compared various mortgage calculators on the web. Not two of
them got the exact same amortization schedule :( :(