Don't ask to ask, just ask | |
PerlMonks |
Re: pi and some continued fractionsby goibhniu (Hermit) |
on Nov 09, 2009 at 21:00 UTC ( [id://806025]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Meditations
|
|