Small special case: If the search interval contracts to elements 0 and 1, $beg might start at 0. Other way round for $end
In reply to Re: Modified Binary Search
by jethro
in thread Modified Binary Search
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |