micropython/tests/basics/int_big_pow.py

9 lines
90 B
Python
Raw Normal View History

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