Lines Matching refs:ax
279 double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinh() local
285 ax = fabs(x); in casinh()
306 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in casinh()
322 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in casinh()
325 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinh()
360 double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacos() local
369 ax = fabs(x); in cacos()
390 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in cacos()
407 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in cacos()
410 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x); in cacos()
460 double ax, ay, t; in clog_for_large_values() local
464 ax = fabs(x); in clog_for_large_values()
466 if (ax < ay) { in clog_for_large_values()
467 t = ax; in clog_for_large_values()
468 ax = ay; in clog_for_large_values()
484 if (ax > DBL_MAX / 2) in clog_for_large_values()
491 if (ax > QUARTER_SQRT_MAX || ay < SQRT_MIN) in clog_for_large_values()
494 return (CMPLX(log(ax * ax + ay * ay) / 2, atan2(y, x))); in clog_for_large_values()
576 double x, y, ax, ay, rx, ry; in catanh() local
580 ax = fabs(x); in catanh()
584 if (y == 0 && ax <= 1) in catanh()
607 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) in catanh()
611 if (ax < SQRT_3_EPSILON / 2 && ay < SQRT_3_EPSILON / 2) { in catanh()
621 if (ax == 1 && ay < DBL_EPSILON) in catanh()
624 rx = log1p(4 * ax / sum_squares(ax - 1, ay)) / 4; in catanh()
626 if (ax == 1) in catanh()
629 ry = atan2(2 * ay, (1 - ax) * (1 + ax)) / 2; in catanh()
631 ry = atan2(2 * ay, (1 - ax) * (1 + ax) - ay * ay) / 2; in catanh()