Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 studying the Monastery: (11)
As of 2014-12-18 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (44 votes), past polls