64-bit bank balances ‘ought to be enough for anybody’?
tigerbeetle.com
64-bit bank balances ‘ought to be enough for anybody’?
1–10 of 372 posts
Re: 64-bit bank balances ‘ought to be enough for anybody’?
#2Then again, 128 bits is plenty for microcents or whatever the minimim unit is.
I’m guessing back in the day when things were 32 bit or less, there were entire financial database implementations that handled this abstraction?
Re: 64-bit bank balances ‘ought to be enough for anybody’?
#3Re: 64-bit bank balances ‘ought to be enough for anybody’?
#4I’m a bit surprised that these two concepts are seen together. I’d of thought that financial math and data management would always be done with some level of abstraction so it doesn’t matter at all what your computer’s implementation is. Then again, 128 bits is plenty for microcents or whatever the minimim unit is. I’m guessing back in the day when things were 32 bit or less, there were entire financial database impl…
Re: 64-bit bank balances ‘ought to be enough for anybody’?
#5Re: 64-bit bank balances ‘ought to be enough for anybody’?
#6I’m a bit surprised that these two concepts are seen together. I’d of thought that financial math and data management would always be done with some level of abstraction so it doesn’t matter at all what your computer’s implementation is. Then again, 128 bits is plenty for microcents or whatever the minimim unit is. I’m guessing back in the day when things were 32 bit or less, there were entire financial database impl…
My experiences in various bits of banking include where juniors ignore advice NOT to store currency in floating point values and then come whining that arithmetic is broken, and tech dudes in a lab deciding that every single FX flow in an investment bank should have 2MB of (unshared) calendar hidden inside its abstraction which made some individual trades too big to load even for powerful machines...
Fixed point calcs in integers are good.
Re: 64-bit bank balances ‘ought to be enough for anybody’?
#7I’m a bit surprised that these two concepts are seen together. I’d of thought that financial math and data management would always be done with some level of abstraction so it doesn’t matter at all what your computer’s implementation is. Then again, 128 bits is plenty for microcents or whatever the minimim unit is. I’m guessing back in the day when things were 32 bit or less, there were entire financial database impl…
This issue is what COBOL was designed to solve. Fixed decimal point arithmetic in base 10
Re: 64-bit bank balances ‘ought to be enough for anybody’?
#8I was under the impression that BCD was generally recommended for money, often because of (IEEE?) rounding and machine precision/epsilon: * https://en.wikipedia.org/wiki/Binary-coded_decimal * https://en.wikipedia.org/wiki/Machine_epsilon
Re: 64-bit bank balances ‘ought to be enough for anybody’?
#9I was under the impression that BCD was generally recommended for money, often because of (IEEE?) rounding and machine precision/epsilon: * https://en.wikipedia.org/wiki/Binary-coded_decimal * https://en.wikipedia.org/wiki/Machine_epsilon
Re: 64-bit bank balances ‘ought to be enough for anybody’?
#10I was under the impression that BCD was generally recommended for money, often because of (IEEE?) rounding and machine precision/epsilon: * https://en.wikipedia.org/wiki/Binary-coded_decimal * https://en.wikipedia.org/wiki/Machine_epsilon