Lines Matching defs:cosh
30 /* cosh(x)
32 * mathematically cosh(x) if defined to be (exp(x) + exp(-x)) / 2
33 * 1. Replace x by |x| (cosh(x) = cosh(-x)).
36 * 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
40 * ln2/2 <= x <= 22 : cosh(x) := -------------------
43 * 22 <= x <= lnovft : cosh(x) := exp(x)/2
44 * lnovft <= x <= ln2ovft: cosh(x) := exp(x/2)/2 * exp(x/2)
45 * ln2ovft < x : cosh(x) := huge * huge (overflow)
48 * cosh(x) is |x| if x is +INF, -INF, or NaN.
49 * only cosh(0) = 1 is exact for finite x.
57 cosh (double x)
79 /* cosh(tiny) = 1 */
107 /* |x| > overflowthresold, cosh(x) overflow */
109 } /* cosh */