mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
9 lines
90 B
Python
9 lines
90 B
Python
# test bignum unary operations
|
|
|
|
i = 1 << 65
|
|
|
|
print(bool(i))
|
|
print(+i)
|
|
print(-i)
|
|
print(~i)
|