Searched refs:LDBits (Results 1 – 2 of 2) sorted by relevance
41 using LDBits = FPBits<long double>; in sqrt() local42 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()
217 using LDBits = FPBits<long double>; variable218 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) {