Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Computing pi to multiple precision

by moritz (Cardinal)
on Sep 09, 2012 at 14:45 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://992590]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found