Lines Matching full:y
30 * Hyperbolic tangent of a complex argument z = x + I y.
41 * beta = 1/cos^2(y)
49 * sinh(x) cos(y) + I cosh(x) sin(y)
51 * cosh(x) cos(y) + I sinh(x) sin(y)
53 * cosh(x) sinh(x) / cos^2(y) + I tan(y)
55 * 1 + sinh^2(x) / cos^2(y)
76 double x, y; in ctanh() local
81 y = cimag(z); in ctanh()
89 * ctanh(NaN + I y) = d(NaN,y) + I d(NaN,y) for y != 0 in ctanh()
91 * The imaginary part has the sign of x*sin(2*y), but there's no in ctanh()
96 * ctanh(+-Inf + I y) = +-1 + I 0 sin(2y) for y finite in ctanh()
100 * y is infinite. in ctanh()
104 return (CMPLX(nan_mix(x, y), in ctanh()
105 y == 0 ? y : nan_mix(x, y))); in ctanh()
107 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh()
116 if (!isfinite(y)) in ctanh()
117 return (CMPLX(x ? y - y : x, y - y)); in ctanh()
120 * ctanh(+-huge +- I y) ~= +-1 +- I 2sin(2y)/exp(2x), using the in ctanh()
127 4 * sin(y) * cos(y) * exp_mx * exp_mx)); in ctanh()
131 t = tan(y); in ctanh()
132 beta = 1.0 + t * t; /* = 1 / cos^2(y) */ in ctanh()