Lines Matching refs:ay
279 double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinh() local
286 ay = fabs(y); 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
370 ay = fabs(y); 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
465 ay = fabs(y); in clog_for_large_values()
466 if (ax < ay) { in clog_for_large_values()
468 ax = ay; in clog_for_large_values()
469 ay = t; 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
581 ay = fabs(y); 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()
622 rx = (m_ln2 - log(ay)) / 2; in catanh()
624 rx = log1p(4 * ax / sum_squares(ax - 1, ay)) / 4; in catanh()
627 ry = atan2(2, -ay) / 2; in catanh()
628 else if (ay < DBL_EPSILON) 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()