Lines Matching refs:rx
155 do_hard_work(double x, double y, double *rx, int *B_is_usable, double *B, in do_hard_work() argument
184 *rx = sqrt(x); in do_hard_work()
191 *rx = log1p(Am1 + sqrt(Am1 * (A + 1))); in do_hard_work()
197 *rx = x / sqrt((1 - y) * (1 + y)); in do_hard_work()
202 *rx = log1p((y - 1) + sqrt((y - 1) * (y + 1))); in do_hard_work()
205 *rx = log(A + sqrt(A * A - 1)); in do_hard_work()
279 double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinh() local
325 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinh()
330 return (CMPLX(copysign(rx, x), copysign(ry, y))); in casinh()
360 double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacos() local
393 rx = fabs(cimag(w)); in cacos()
397 return (CMPLX(rx, ry)); in cacos()
413 rx = acos(B); in cacos()
415 rx = acos(-B); in cacos()
418 rx = atan2(sqrt_A2mx2, new_x); in cacos()
420 rx = atan2(sqrt_A2mx2, -new_x); in cacos()
424 return (CMPLX(rx, ry)); in cacos()
435 double rx, ry; in cacosh() local
438 rx = creal(w); in cacosh()
441 if (isnan(rx) && isnan(ry)) in cacosh()
442 return (CMPLX(ry, rx)); in cacosh()
445 if (isnan(rx)) in cacosh()
446 return (CMPLX(fabs(ry), rx)); in cacosh()
450 return (CMPLX(fabs(ry), copysign(rx, cimag(z)))); in cacosh()
576 double x, y, ax, ay, rx, ry; in catanh() local
622 rx = (m_ln2 - log(ay)) / 2; in catanh()
624 rx = log1p(4 * ax / sum_squares(ax - 1, ay)) / 4; in catanh()
633 return (CMPLX(copysign(rx, x), copysign(ry, y))); in catanh()