Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Fun Question: Square Root of 5 to 10000 digits

by zentara (Archbishop)
on Feb 28, 2007 at 12:41 UTC ( [id://602484]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://602484]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-20 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found