Home
last modified time | relevance | path

Searched refs:round_bit (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/
H A DHypot.h220 bool round_bit = y_new & StorageType(1);
238 if (round_bit && (lsb || sticky_bits || (r != 0)))
242 if (round_bit || sticky_bits || (r != 0))
259 if (!(round_bit || sticky_bits || (r != 0)))
H A Ddyadic_float.h55 bool round_bit = rshift < Bits ? value.get_bit(rshift) : 0; in rounding_direction() local
56 return round_bit != 0 || (value << (Bits - rshift + 1)) != 0 ? +1 : -1; in rounding_direction()
339 bool round_bit = !(mantissa & round_mask).is_zero(); in fast_as() local
341 int round_and_sticky = int(round_bit) * 2 + int(sticky_bit); in fast_as()
/freebsd/contrib/llvm-project/libc/src/__support/fixed_point/
H A Dfx_bits.h167 T round_bit = FXRep::EPS() << (FXRep::FRACTION_LEN - n - 1); in round() local
169 if (LIBC_UNLIKELY(FXRep::MAX() - round_bit < x)) in round()
177 return bit_and((x + round_bit), rounding_mask); in round()
/freebsd/contrib/llvm-project/libc/src/__support/
H A Dstr_to_float.h818 bool round_bit = static_cast<bool>(mantissa & round_bit_mask); in binary_exp_to_float() local
834 if (round_bit && (least_significant_bit || sticky_bit)) { in binary_exp_to_float()
838 if (round_bit || sticky_bit) { in binary_exp_to_float()
842 if (round_bit && sticky_bit) { in binary_exp_to_float()