You must log in or register to comment.
deleted by creator
your battery is orange
Much better
That’s the lowest a 32-bit signed integer can go, so probably an overflow error:
(2^32)÷2 = 2,147,483,648
deleted by creator
Haha, Same!
branch⅞(4.13) = ∆
It could be an overflow, or it could have set it to that value if something unexpected happens. Ints aren’t nullable (in most languages), so returning some fixed but never occurring value is useful. The fact that it is exactly that value makes me suspect that’s the case, not overflow.
Battery is sucking your life energy now
Try putting new AA batteries.
Turn it off! Your draining our batteries!
Your battery’s so good that the capacity integer overflowed.