circuitpython/tests/basics/int_big_pow.py

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)