print(10 ^ 100) # no overflow
print(10 ^ 500) # overflow, marked by Inf value
## 1e+100
## Inf
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX