Skip to content

Commit b56c635

Browse files
committed
tests/int_big_xor: Test that xor result is normalized.
And thus can be successfully used in comparisons, etc.
1 parent 3d6240b commit b56c635

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/basics/int_big_xor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
a = 0xfffffffffffffffffffffffffffff
66
print(a ^ (1 << 100))
77
print(a ^ (1 << 200))
8+
print(a ^ a == 0)

0 commit comments

Comments
 (0)