Home | History | Annotate | Download | only in src

Lines Matching full:cosh

20  * mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2
21 * 1. Replace x by |x| (cosh(x) = cosh(-x)).
24 * 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
28 * ln2/2 <= x <= 22 : cosh(x) := -------------------
30 * 22 <= x <= lnovft : cosh(x) := exp(x)/2
31 * lnovft <= x <= ln2ovft: cosh(x) := exp(x/2)/2 * exp(x/2)
32 * ln2ovft < x : cosh(x) := huge*huge (overflow)
35 * cosh(x) is |x| if x is +INF, -INF, or NaN.
36 * only cosh(0)=1 is exact for finite x.
62 if (ix<0x3c800000) return w; /* cosh(tiny) = 1 */
84 /* |x| > overflowthresold, cosh(x) overflow */