in reply to Re: [Study]: Searching for square roots
in thread [Study]: Searching for square roots
I'd recommend maybe
because it's now much more evident that the "middle" is the value between low and high.sub middle { my($low, $high) = @_; return ($low + $high) / 2; }
|
---|