Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’?
by GTP on Tuesday September 19, 2023 @08:59AM
(#37569321)
What would be the problem with TigerBeetle's approach to use a smaller and configurable unit of measure so that you only have to deal with integers?
[ Parent
| on HN ]
Re:64-Bit Bank Balances ‘Ought to Be Enough for Anybody’?
by lxgr on Tuesday September 19, 2023 @10:31AM
(#37570516)
The article and the comment you're responding to aren't even talking about the same thing, so it's futile to discuss the pros and cons.
The article is talking about serialized representations, i.e. how you store amounts in a database. The comment is talking about how to arrive at amounts as part of arithmetic calculations, e.g. determining interest, percentage fees etc.