2015-03-14 17:20:58 -04:00
|
|
|
print(0 ^ (1 << 80))
|
|
|
|
print((1 << 80) ^ (1 << 80))
|
|
|
|
print((1 << 80) ^ 0)
|
|
|
|
|
|
|
|
a = 0xfffffffffffffffffffffffffffff
|
|
|
|
print(a ^ (1 << 100))
|
|
|
|
print(a ^ (1 << 200))
|
2015-11-22 15:02:15 -05:00
|
|
|
print(a ^ a == 0)
|
2015-11-22 15:11:01 -05:00
|
|
|
print(bool(a ^ a))
|