summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/int_big_rshift.py
blob: e6e2a669939b44f2962f78415a224be6e29c6276 (plain) (blame)
1
2
3
4
5
6
7
8
9
i = 123456789012345678901234567890
print(i >> 1)
print(i >> 1000)

# result needs rounding up
i = -(1 << 70)
print(i >> 80)
i = -0xffffffffffffffff
print(i >> 32)