Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Computing pi to multiple precision

by moritz (Cardinal)
on Sep 09, 2012 at 14:45 UTC ( #992590=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub pi-spigot(Int $digits) {
        my $len = 1 + floor 10 * $digits / 3;
    ...
           '03141592653589793238462643383279502884197169399375105820974944
    +59230781640628620899862803482534211706',
           'it works';
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2014-10-25 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls