Home
last modified time | relevance | path

Searched refs:LDBits (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/generic/
H A Dsqrt_80_bit_long_double.h41 using LDBits = FPBits<long double>; in sqrt() local
42 using StorageType = typename LDBits::StorageType; in sqrt()
43 constexpr StorageType ONE = StorageType(1) << int(LDBits::FRACTION_LEN); in sqrt()
44 constexpr auto LDNAN = LDBits::quiet_nan().get_val(); in sqrt()
46 LDBits bits(x); in sqrt()
48 if (bits == LDBits::inf(Sign::POS) || bits.is_zero() || bits.is_nan()) { in sqrt()
111 x_exp = ((x_exp >> 1) + LDBits::EXP_BIAS); in sqrt()
112 y |= (static_cast<StorageType>(x_exp) << (LDBits::FRACTION_LEN + 1)); in sqrt()
/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/
H A DNormalFloat.h217 using LDBits = FPBits<long double>; variable
218 int biased_exponent = exponent + LDBits::EXP_BIAS;
220 constexpr int MAX_EXPONENT_VALUE = (1 << LDBits::EXP_LEN) - 2;
222 return LDBits::inf(sign).get_val();
228 constexpr int SUBNORMAL_EXPONENT = -LDBits::EXP_BIAS + 1;
231 if (shift <= LDBits::FRACTION_LEN + 1) {