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

(MeowChow) Re: computing square root by hand -- no sqrt (golf, beginner)

by MeowChow (Vicar)
on May 10, 2002 at 10:16 UTC ( #165613=note: print w/ replies, xml ) Need Help??


in reply to computing square root by hand -- no sqrt (golf, beginner)

38 chars, note that the second argument is entirely superfluous:
  
($_+=$ARGV[0]/$_)/=2for($_=1)x99;print

   MeowChow                                   
               s aamecha.s a..a\u$&owag.print


Comment on (MeowChow) Re: computing square root by hand -- no sqrt (golf, beginner)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2015-07-04 18:32 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 (60 votes), past polls