Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 cooling their heels in the Monastery: (6)
As of 2016-06-27 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (337 votes). Check out past polls.