Home
last modified time | relevance | path

Searched refs:x_bits (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DHypot.h107 FPBits_t x_bits(x), y_bits(y);
109 if (x_bits.is_inf() || y_bits.is_inf()) {
112 if (x_bits.is_nan()) {
119 uint16_t x_exp = x_bits.get_unbiased_exponent();
134 a_mant = x_bits.get_mantissa();
141 b_mant = x_bits.get_mantissa();
/llvm-project-15.0.7/libc/test/src/math/
H A DNextAfterTest.h163 FPBits x_bits = FPBits(x); in testBoundaries() local
166 uint16_t(x_bits.get_unbiased_exponent() - 1)); in testBoundaries()
173 x_bits.get_unbiased_exponent()); in testBoundaries()
174 ASSERT_EQ(result_bits.get_mantissa(), x_bits.get_mantissa() + UIntType(1)); in testBoundaries()
181 uint16_t(x_bits.get_unbiased_exponent() - 1)); in testBoundaries()
188 x_bits.get_unbiased_exponent()); in testBoundaries()
189 ASSERT_EQ(result_bits.get_mantissa(), x_bits.get_mantissa() + UIntType(1)); in testBoundaries()
/llvm-project-15.0.7/libc/src/math/generic/
H A Dhypotf.cpp20 FPBits x_bits(x), y_bits(y);
22 uint16_t x_exp = x_bits.get_unbiased_exponent();