Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Golf -- compute PI

by Anonymous Monk
on Apr 16, 2002 at 03:11 UTC ( [id://159401]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $i+=($_%2*8-4)/($_*2-1)for 1..1e6;print$i
    
  2. or download this
    $i+=4*(-1)**$_/(1-$_*2)for 1..1e6;print$i
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found