circuitpython/tests/basics/int_big_xor.py

8 lines
152 B
Python
Raw Normal View History

print(0 ^ (1 << 80))
print((1 << 80) ^ (1 << 80))
print((1 << 80) ^ 0)
a = 0xfffffffffffffffffffffffffffff
print(a ^ (1 << 100))
print(a ^ (1 << 200))