Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: [Study]: Searching for square roots

by duff (Parson)
on Nov 14, 2006 at 17:51 UTC ( [id://584013]=note: print w/replies, xml ) Need Help??


in reply to Re: [Study]: Searching for square roots
in thread [Study]: Searching for square roots

If I were writing the middle subroutine, I wouldn't copy the values into other variables before use:

sub middle { return ($_[0] + $_[1]) / 2; }

But that's probably just me.

Replies are listed 'Best First'.
Re^3: [Study]: Searching for square roots
by blazar (Canon) on Nov 15, 2006 at 09:39 UTC

    Indeed: YAWTDI!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found