Jan-09-2021, 09:06 AM
One can use the gmpy2 library to handle larger numbers
>>> import gmpy2 >>> gmpy2.mpfr(1<<10000) mpfr('1.9950631168807584e+3010')Play with the context instance to control the mpfr's precision.