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; }
In reply to Re^2: [Study]: Searching for square roots
by pemungkah
in thread [Study]: Searching for square roots
by monsieur_champs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |