I do some “early computing” on a 32-bit Windows PC and look at the limits.
Now 2 ** 32 is 4,294,967,296, and I found that
4294967290 + 5
excellent and
4294967290 + 6
it overflows quite correctly.
What puzzles me is that
429496729 * 10
although product 4294967290 is in range.
Anyone interested?
source share