September 2023 Summaries
1 posts from TigerBeetle
Filter
Month:
Year:
Post Summaries
Back to Blog
TigerBeetle has transitioned to using 128-bit integers for storing financial amounts and balances to accommodate the increasing precision and scale required in modern financial transactions, surpassing the limitations of 64-bit integers. This shift allows for more accurate representation of small monetary units, such as micro-cents, and caters to scenarios like digital currencies, micropayments, and high-frequency trading, where precision is paramount. Furthermore, TigerBeetle's approach involves expressing all financial transactions as multiples of a minimal integer factor, avoiding fractional numbers due to the inaccuracies associated with binary floating-point representation. By maintaining separate positive integer amounts for debits and credits, TigerBeetle enhances data accuracy and flexibility while eliminating the complications associated with negative numbers. Although 128-bit arithmetic requires more computational resources and support from client languages, TigerBeetle provides efficient API solutions to manage these challenges, enabling high-performance and adaptable financial operations for future-proof accounting needs.
Sep 19, 2023
1,719 words in the original blog post.