this post was submitted on 06 May 2024
6 points (87.5% liked)

Eric Posts URLs

100 readers
1 users here now

Eric found these things on the internet

Go ahead and cross post to other communities and share what you like

founded 8 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] NateNate60@lemmy.world 1 points 6 months ago (2 children)

In a perfect world, 32 bits would be enough.

[–] Blaster_M@lemmy.world 1 points 6 months ago

In a perfect 1995 world

[–] ericjmorey 1 points 6 months ago (1 children)
[–] NateNate60@lemmy.world -1 points 6 months ago (2 children)

Nobody should be able to accumulate more than 2^31 dollars. That level of hoarding is just bad for society.

[–] CharlesMangione@lemmy.world 3 points 6 months ago

don't forget you need decimals and negatives too

[–] ericjmorey@programming.dev 2 points 6 months ago* (last edited 6 months ago)

What if your system needs to sum transaction values of hundreds of millions of accounts and report a total volume of transactions?