Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
b56c635d
Commit
b56c635d
authored
Nov 22, 2015
by
Paul Sokolovsky
Browse files
tests/int_big_xor: Test that xor result is normalized.
And thus can be successfully used in comparisons, etc.
parent
3d6240ba
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/basics/int_big_xor.py
View file @
b56c635d
...
...
@@ -5,3 +5,4 @@ print((1 << 80) ^ 0)
a
=
0xfffffffffffffffffffffffffffff
print
(
a
^
(
1
<<
100
))
print
(
a
^
(
1
<<
200
))
print
(
a
^
a
==
0
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment