I am going to calculate values of pi very precisely using python 3. For that, I first need a precise value of 426880*(10005)^0.5 now, using
>>> from decimal import *
>>> getcontext().prec = 100000
>>> Decimal(10005).sqrt()
i got the value of root of 10005 precisely upto 100,000 digits. But, when i try to multiply this by 426880 using:
>>> from decimal import *
>>> getcontext().prec = 1000000
>>> Decimal(426880) * Decimal(x)
x being the root of 10005 precisely calculated to 100,000 digits i only get a 28 digit number instead of the specified precision. How to multiply these values precisely?