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

Re: pi and some continued fractions

by goibhniu (Hermit)
on Nov 09, 2009 at 21:00 UTC ( #806025=note: print w/ replies, xml ) Need Help??


in reply to pi and some continued fractions

I implemented the spigot algorithm already mentioned in 266 strokes (for a start) but never got it to run in the required 4 seconds. It's plenty fast on my local machine, but not on the codegolf server. Since I couldn't submit the baseline, I never got around to shortening it.



#my sig used to say 'I humbly seek wisdom. '. Now it says:
use strict;
use warnings;
I humbly seek wisdom.


Comment on Re: pi and some continued fractions
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-07-04 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls