Lines Matching defs:half
544 * midway value and max. This will reduce the range in half.
549 long long med, half, diff;
571 half = diff / (long long)2; /* half the distance between min and max */
572 med = min + half; /* med way point between min and max */
577 printf(" diff = %lld, half = %lld, med = %lld\n", diff, half, med);
580 if (half <= 2147483647) {
582 * If half is smaller than 2gb, we can use the random number
592 * recursively call ourself to reduce the value to the bottom half
593 * or top half (bit cnt is set).