tests/int_big_xor: Test that xor result is normalized.

And thus can be successfully used in comparisons, etc.
pull/1640/head
Paul Sokolovsky 2015-11-22 22:02:15 +02:00
rodzic 3d6240ba1b
commit b56c635d64
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -5,3 +5,4 @@ print((1 << 80) ^ 0)
a = 0xfffffffffffffffffffffffffffff
print(a ^ (1 << 100))
print(a ^ (1 << 200))
print(a ^ a == 0)