circuitpython/tests/basics/int_big_pow.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

2015-10-01 13:49:37 -04:00
# test bignum power
i = 1 << 65
print(0 ** i)
print(i ** 0)
print(i ** 1)
print(i ** 2)