Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: Golf -- compute PI

by Sweeper (Pilgrim)
on Apr 16, 2002 at 05:50 UTC ( #159421=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Golf -- compute PI
in thread Golf -- compute PI

You can get the same result with 20 chars:
die 3.14159265358979
I found this trick in Logique, informatique et paradoxes, publisher Belin (Pour la Science), page 67, it was about the shorter program to get (not compute) pi with n digits.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://159421]
help
Chatterbox?
[MidLifeXis]: Wait, what? Your specs are all tied down at the start? What is this dark magic, stevieb?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-01-20 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (176 votes). Check out past polls.