Lines Matching refs:fract
903 uint64_t fract = u.u64 & BIT64_MASK(FRACTION_BITS); in encode_float() local
904 bool is_subnormal = (expo == 0) && (fract != 0); in encode_float()
910 if (fract == 0) { in encode_float()
984 } else if ((fract != 0) in encode_float()
992 if ((fract & mask) != 0ULL) { in encode_float()
993 fract += mask; in encode_float()
1000 bool require_dp = ((fract != 0) || conv->flag_hash); in encode_float()
1016 if (fract != 0) { in encode_float()
1017 sp = encode_uint(fract, &aconv, buf, spe); in encode_float()
1073 fract <<= EXPONENT_BITS; in encode_float()
1074 fract &= ~SIGN_MASK; in encode_float()
1077 if ((expo | fract) != 0) { in encode_float()
1082 for (fract <<= 1; (fract & BIT_63) == 0; fract <<= 1) { in encode_float()
1091 fract |= BIT_63; in encode_float()
1110 fract >>= 1; in encode_float()
1112 } while ((uint32_t)(fract >> 32) >= (UINT32_MAX / 5U)); in encode_float()
1115 fract *= 5U; in encode_float()
1126 fract += 2; in encode_float()
1127 _ldiv5(&fract); in encode_float()
1133 fract <<= 1; in encode_float()
1135 } while (!(fract & BIT_63)); in encode_float()
1143 fract >>= (4 - expo); in encode_float()
1185 fract += round; in encode_float()
1187 if (fract >= BIT64(60)) { in encode_float()
1188 _ldiv10(&fract); in encode_float()
1196 *buf = _get_digit(&fract, &digit_count); in encode_float()
1230 *buf = _get_digit(&fract, &digit_count); in encode_float()
1245 *buf = _get_digit(&fract, &digit_count); in encode_float()