Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/generic/
H A DFMod.h121 LIBC_INLINE constexpr static T execute(int exp_diff, int sides_zeroes_count, in execute()
123 while (exp_diff > sides_zeroes_count) { in execute()
124 exp_diff -= sides_zeroes_count; in execute()
128 m_x <<= exp_diff; in execute()
135 LIBC_INLINE constexpr static T execute(int exp_diff, int sides_zeroes_count, in execute()
138 if (exp_diff > sides_zeroes_count) { in execute()
140 while (exp_diff > sides_zeroes_count) { in execute()
141 exp_diff -= sides_zeroes_count; in execute()
148 T hd = (m_x * inv_hy) >> (LENGTH - exp_diff); in execute()
149 m_x <<= exp_diff; in execute()
[all …]
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/
H A Datan2_2u5.c60 int64_t exp_diff = biased_exponent (x) - biased_exponent (y); in atan2() local
79 if (unlikely (iax == 0 || exp_diff <= -POW8_EXP_UFLOW_BOUND)) in atan2()
85 || (exp_diff >= POW8_EXP_UFLOW_BOUND && m >= 2))) in atan2()
132 if (unlikely (m < 2 && exp_diff >= POW8_EXP_UFLOW_BOUND)) in atan2()
H A Datan2f_3u.c66 int32_t exp_diff = biased_exponent (x) - biased_exponent (y); in atan2f() local
72 if (unlikely (iay == 0 || (exp_diff >= POLY_UFLOW_BOUND && m >= 2))) in atan2f()
88 if (unlikely (iax == 0 || exp_diff <= -POLY_UFLOW_BOUND)) in atan2f()
140 if (unlikely (m < 2 && exp_diff >= POLY_UFLOW_BOUND)) in atan2f()