Home | History | Annotate | Download | only in Modules

Lines Matching defs:ay

310     double ay, h;

319 ay = fabs(z.imag);
320 if (z.real > CM_SQRT_LARGE_DOUBLE || ay > CM_SQRT_LARGE_DOUBLE) {
334 } else if (z.real == 1. && ay < CM_SQRT_DBL_MIN) {
336 if (ay == 0.) {
341 r.real = -log(sqrt(ay)/sqrt(hypot(ay, 2.)));
342 r.imag = copysign(atan2(2., -ay)/2, z.imag);
346 r.real = m_log1p(4.*z.real/((1-z.real)*(1-z.real) + ay*ay))/4.;
347 r.imag = -atan2(-2.*z.imag, (1-z.real)*(1+z.real) - ay*ay)/2.;
529 double ax, ay, am, an, h;
534 ay = fabs(z.imag);
536 if (ax > CM_LARGE_DOUBLE || ay > CM_LARGE_DOUBLE) {
537 r.real = log(hypot(ax/2., ay/2.)) + M_LN2;
538 } else if (ax < DBL_MIN && ay < DBL_MIN) {
539 if (ax > 0. || ay > 0.) {
540 /* catch cases where hypot(ax, ay) is subnormal */
542 ldexp(ay, DBL_MANT_DIG))) - DBL_MANT_DIG*M_LN2;
552 h = hypot(ax, ay);
554 am = ax > ay ? ax : ay; /* max(ax, ay) */
555 an = ax > ay ? ay : ax; /* min(ax, ay) */
698 double ax, ay;
709 ay = fabs(z.imag);
711 if (ax < DBL_MIN && ay < DBL_MIN && (ax > 0. || ay > 0.)) {
712 /* here we catch cases where hypot(ax, ay) is subnormal */
714 s = ldexp(sqrt(ax + hypot(ax, ldexp(ay, CM_SCALE_UP))),
718 s = 2.*sqrt(ax + hypot(ax, ay/8.));
720 d = ay/(2.*s);