Lines Matching refs:w
67 double t, w; in cosh() local
69 w = fabs(x); in cosh()
70 if (!finite(w)) in cosh()
71 return (w * w); in cosh()
72 if (w < 0.3465) { in cosh()
73 t = expm1(w); in cosh()
74 w = 1.0 + t; in cosh()
75 if (w != 1.0) in cosh()
76 w = 1.0 + (t * t) / (w + w); in cosh()
77 return (w); in cosh()
78 } else if (w < 22.0) { in cosh()
79 t = exp(w); in cosh()
81 } else if (w <= lnovft) { in cosh()
82 return (0.5 * exp(w)); in cosh()
84 w = (w - 1024 * ln2hi) - 1024 * ln2lo; in cosh()
85 if (w >= ln2) in cosh()
88 return (scalbn(exp(w), 1023)); in cosh()