micropython/tests/basics/int_big_pow.py

9 lines
90 B
Python
Raw Permalink Normal View History

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