Lines Matching defs:half
627 // and assumes inputs are finite and treat/flush denorm half floats as/to zero.
630 // - a half is 16-bit, 1-5-10 sign-exponent-mantissa, with 15 exponent bias.
707 // half added in:
708 // divide(numerator + half) == floor(numerator/denominator + 1/2).
712 // Derivation of half:
713 // numerator/denominator + 1/2 = (numerator + half) / d
714 // numerator + denominator / 2 = numerator + half
715 // half = denominator / 2.
717 // Because half is divided by 2, that division must also be rounded.
718 // half == denominator / 2 = (denominator + 1) / 2.
722 // The maximum that can be divided and rounded is UINT_MAX - half.
742 uint32_t half() const { return fHalf; }