Lines Matching refs:ay
276 double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinh() local
283 ay = fabs(y); in casinh()
303 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in casinh()
319 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in casinh()
322 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinh()
357 double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacos() local
367 ay = fabs(y); in cacos()
387 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in cacos()
404 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in cacos()
407 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x); in cacos()
457 double ax, ay, t; in clog_for_large_values() local
462 ay = fabs(y); in clog_for_large_values()
463 if (ax < ay) { in clog_for_large_values()
465 ax = ay; in clog_for_large_values()
466 ay = t; in clog_for_large_values()
488 if (ax > QUARTER_SQRT_MAX || ay < SQRT_MIN) in clog_for_large_values()
491 return (CMPLX(log(ax * ax + ay * ay) / 2, atan2(y, x))); in clog_for_large_values()
573 double x, y, ax, ay, rx, ry; in catanh() local
578 ay = fabs(y); in catanh()
604 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) in catanh()
608 if (ax < SQRT_3_EPSILON / 2 && ay < SQRT_3_EPSILON / 2) { in catanh()
618 if (ax == 1 && ay < DBL_EPSILON) in catanh()
619 rx = (m_ln2 - log(ay)) / 2; in catanh()
621 rx = log1p(4 * ax / sum_squares(ax - 1, ay)) / 4; in catanh()
624 ry = atan2(2, -ay) / 2; in catanh()
625 else if (ay < DBL_EPSILON) in catanh()
626 ry = atan2(2 * ay, (1 - ax) * (1 + ax)) / 2; in catanh()
628 ry = atan2(2 * ay, (1 - ax) * (1 + ax) - ay * ay) / 2; in catanh()