Lines Matching refs:ay
194 long double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinhl() local
201 ay = fabsl(y); in casinhl()
212 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in casinhl()
225 if (ax < SQRT_6_EPSILON/4 && ay < SQRT_6_EPSILON/4) in casinhl()
228 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinhl()
246 long double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacosl() local
256 ay = fabsl(y); in cacosl()
267 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in cacosl()
281 if (ax < SQRT_6_EPSILON/4 && ay < SQRT_6_EPSILON/4) in cacosl()
284 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x); in cacosl()
323 long double ax, ay, t; in clog_for_large_values() local
328 ay = fabsl(y); in clog_for_large_values()
329 if (ax < ay) { in clog_for_large_values()
331 ax = ay; in clog_for_large_values()
332 ay = t; in clog_for_large_values()
338 if (ax > QUARTER_SQRT_MAX || ay < SQRT_MIN) in clog_for_large_values()
341 return (CMPLXL(logl(ax*ax + ay*ay) / 2, atan2l(y, x))); in clog_for_large_values()
382 long double x, y, ax, ay, rx, ry; in catanhl() local
387 ay = fabsl(y); in catanhl()
403 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) in catanhl()
406 if (ax < SQRT_3_EPSILON/2 && ay < SQRT_3_EPSILON/2) { in catanhl()
411 if (ax == 1 && ay < LDBL_EPSILON) { in catanhl()
413 if (ay > 2*LDBL_MIN) in catanhl()
414 rx = - logl(ay/2) / 2; in catanhl()
417 rx = - (logl(ay) - m_ln2) / 2; in catanhl()
419 rx = log1pl(4*ax / sum_squares(ax-1, ay)) / 4; in catanhl()
422 ry = atan2l(2, -ay) / 2; in catanhl()
423 else if (ay < LDBL_EPSILON) in catanhl()
424 ry = atan2l(2*ay, (1-ax)*(1+ax)) / 2; in catanhl()
426 ry = atan2l(2*ay, (1-ax)*(1+ax) - ay*ay) / 2; in catanhl()