in reply to Re^2: Fun Question: Square Root of 5 to 10000 digits
in thread Fun Question: Square Root of 5 to 10000 digits

With Math::MPFR, setting a default precision of 10000, means you have 10000 bits of precision, not 10000 decimal digits of precision.

Doh! You are right, I was wondering last night why I was getting a 1/3 factor of digits. 10000 gave me ~ 3000 decimal places, while 100000 precision gave me ~30000 decimal places. I thought it might be the print accuracy needed to do the inverse, but I was wrong. Thanks for clearly that up. :-)


I'm not really a human, but I play one on earth. Cogito ergo sum a bum
  • Comment on Re^3: Fun Question: Square Root of 5 to 10000 digits