r/ProgrammerHumor • • Aug 14 '20

Someone try this

Post image
53.6k Upvotes

433 comments sorted by

View all comments

Show parent comments

2

u/techgineer13 Aug 14 '20 edited Aug 14 '20

Yep. The engine is written in Java, and all Java ints are signed 32-bit integers, giving you a max cash value of 231 - 1, or 2.17b gp. This also works out to roughly $2000 USD if you sell your gp on the black market (don't do this, you WILL get banned), or roughly 19 years of membership if you spend it on bonds.

Edit: Fixed exponent to include the sign bit

1

u/jimbo_slice321 Aug 14 '20

Super interesting stuff thanks for clarifying!

1

u/techgineer13 Aug 14 '20

This article explains a major glitch that occurred due to this behavior.