by Мастер » Tue Jun 08, 2021 4:11 pm
-138
So if we use 21-bit signed integer arithmetic in the usual way, then the largest negative number that can be represented is -1,048,576. (I think for Arneb and Halcyon Days that would be -1.048.576.)
Then if you subtract one from this maximum value, it overflows to +1,048,575 (or +1.048.575). Then by continuing to subtract one, eventually we will get back to zero.
How's that?
Be seeing you!