1# tests transition from small to large int representation by addition
2
3# 31-bit overflow
4i = 0x3fffffff
5print(i + i)
6print(-i + -i)
7
8# 47-bit overflow
9i = 0x3fffffffffff
10print(i + i)
11print(-i + -i)
12
13# 63-bit overflow
14i = 0x3fffffffffffffff
15print(i + i)
16print(-i + -i)
17