Searched refs:exp_diff (Results 1 – 3 of 3) sorted by relevance
121 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 …]
60 int64_t exp_diff = biased_exponent (x) - biased_exponent (y); in atan2() local79 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()
66 int32_t exp_diff = biased_exponent (x) - biased_exponent (y); in atan2f() local72 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()