micropython/tests/basics/int_big_unary.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
90 B
Python
Raw Normal View History

# test bignum unary operations
i = 1 << 65
print(bool(i))
print(+i)
print(-i)
print(~i)