Lines Matching defs:cosh
2526 * Math.cosh
2528 * mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2
2529 * 1. Replace x by |x| (cosh(x) = cosh(-x)).
2532 * 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
2536 * ln2/2 <= x <= 22 : cosh(x) := -------------------
2538 * 22 <= x <= lnovft : cosh(x) := exp(x)/2
2539 * lnovft <= x <= ln2ovft: cosh(x) := exp(x/2)/2 * exp(x/2)
2540 * ln2ovft < x : cosh(x) := huge*huge (overflow)
2543 * cosh(x) is |x| if x is +INF, -INF, or NaN.
2544 * only cosh(0)=1 is exact for finite x.
2546 double cosh(double x) {
2561 // For |x| < 2^-55, cosh(x) = 1