circuitpython/tests/basics/int_big_pow.py

9 lines
90 B
Python

# test bignum power
i = 1 << 65
print(0 ** i)
print(i ** 0)
print(i ** 1)
print(i ** 2)