Hacker News new | ask | show | jobs
by rwallace 4423 days ago
Well, not just kind of obvious why, but kind of obvious it's not a bug in Java! If you're dealing with quantities that don't fit in a 32-bit twos complement integer, you need to use a larger datatype.