Lines Matching refs:rx
90 do_hard_work(float x, float y, float *rx, int *B_is_usable, float *B, in do_hard_work() argument
105 *rx = sqrtf(x); in do_hard_work()
108 *rx = log1pf(Am1 + sqrtf(Am1 * (A + 1))); in do_hard_work()
110 *rx = x / sqrtf((1 - y) * (1 + y)); in do_hard_work()
112 *rx = log1pf((y - 1) + sqrtf((y - 1) * (y + 1))); in do_hard_work()
115 *rx = logf(A + sqrtf(A * A - 1)); in do_hard_work()
150 float x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinhf() local
186 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinhf()
191 return (CMPLXF(copysignf(rx, x), copysignf(ry, y))); in casinhf()
205 float x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacosf() local
229 rx = fabsf(cimagf(w)); in cacosf()
233 return (CMPLXF(rx, ry)); in cacosf()
247 rx = acosf(B); in cacosf()
249 rx = acosf(-B); in cacosf()
252 rx = atan2f(sqrt_A2mx2, new_x); in cacosf()
254 rx = atan2f(sqrt_A2mx2, -new_x); in cacosf()
258 return (CMPLXF(rx, ry)); in cacosf()
265 float rx, ry; in cacoshf() local
268 rx = crealf(w); in cacoshf()
270 if (isnan(rx) && isnan(ry)) in cacoshf()
271 return (CMPLXF(ry, rx)); in cacoshf()
272 if (isnan(rx)) in cacoshf()
273 return (CMPLXF(fabsf(ry), rx)); in cacoshf()
276 return (CMPLXF(fabsf(ry), copysignf(rx, cimagf(z)))); in cacoshf()
343 float x, y, ax, ay, rx, ry; in catanhf() local
375 rx = (m_ln2 - logf(ay)) / 2; in catanhf()
377 rx = log1pf(4 * ax / sum_squares(ax - 1, ay)) / 4; in catanhf()
386 return (CMPLXF(copysignf(rx, x), copysignf(ry, y))); in catanhf()