mirror of
https://github.com/micropython/micropython.git
synced 2025-09-06 09:50:20 +02:00
8 lines
149 B
Python
8 lines
149 B
Python
i = 123456789012345678901234567890
|
|
print(i >> 1)
|
|
print(i >> 1000)
|
|
|
|
# result needs rounding up
|
|
print(-(1<<70) >> 80)
|
|
print(-0xffffffffffffffff >> 32)
|