Lines Matching refs:exponent
1647 int exponent; in pb_decode_double_as_float() local
1657 exponent = (int)((value >> 52) & 0x7FF) - 1023; in pb_decode_double_as_float()
1661 if (exponent == 1024) in pb_decode_double_as_float()
1664 exponent = 128; in pb_decode_double_as_float()
1669 if (exponent > 127) in pb_decode_double_as_float()
1672 exponent = 128; in pb_decode_double_as_float()
1675 else if (exponent < -150) in pb_decode_double_as_float()
1678 exponent = -127; in pb_decode_double_as_float()
1681 else if (exponent < -126) in pb_decode_double_as_float()
1685 mantissa >>= (-126 - exponent); in pb_decode_double_as_float()
1686 exponent = -127; in pb_decode_double_as_float()
1695 exponent += 1; in pb_decode_double_as_float()
1703 out.i |= (uint32_t)(exponent + 127) << 23; in pb_decode_double_as_float()