Searched refs:cosh (Results 1 - 9 of 9) sorted by relevance

/bionic/libstdc++/include/
H A Dcmath53 using ::cosh;
/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_cosh.c19 * mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2
20 * 1. Replace x by |x| (cosh(x) = cosh(-x)).
23 * 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
27 * ln2/2 <= x <= 22 : cosh(x) := -------------------
29 * 22 <= x <= lnovft : cosh(x) := exp(x)/2
30 * lnovft <= x <= ln2ovft: cosh(x) := exp(x/2)/2 * exp(x/2)
31 * ln2ovft < x : cosh(x) := huge*huge (overflow)
34 * cosh(x) is |x| if x is +INF, -INF, or NaN.
35 * only cosh(
[all...]
H A Ds_ccosh.c30 * cosh(z) = cosh(x+iy)
31 * = cosh(x) cos(y) + i sinh(x) sin(y).
36 * must satisfy both cosh(conj(z)) == conj(cosh(z)) and cosh(-z) == cosh(z).
67 return (CMPLX(cosh(x), x * y));
69 return (CMPLX(cosh(x) * cos(y), sinh(x) * sin(y)));
71 /* |x| >= 22, so cosh(
[all...]
H A Ds_csinh.c31 * = sinh(x) cos(y) + i cosh(x) sin(y).
69 return (CMPLX(sinh(x) * cos(y), cosh(x) * sin(y)));
71 /* |x| >= 22, so cosh(x) ~= exp(|x|) */
H A Dmath_private.h692 #define __ieee754_cosh cosh
/bionic/libm/x86/
H A De_cosh.S35 // cosh(x)=(exp(x)+exp(-x))/2
54 // For |x| in [1/8, 3*2^7), cosh(x) is formed as
64 // cosh(NaN) = quiet NaN, and raise invalid exception
65 // cosh(INF) = that INF
66 // cosh(0)=1
67 // for finite argument, only cosh(0)=1 is exact
69 // cosh(x) overflows
90 # -- Begin cosh
91 ENTRY(cosh) function
271 END(cosh)
[all...]
/bionic/libm/x86_64/
H A De_cosh.S35 // cosh(x)=(exp(x)+exp(-x))/2
54 // For |x| in [1/8, 3*2^7), cosh(x) is formed as
64 // cosh(NaN) = quiet NaN, and raise invalid exception
65 // cosh(INF) = that INF
66 // cosh(0)=1
67 // for finite argument, only cosh(0)=1 is exact
69 // cosh(x) overflows
76 # -- Begin cosh
77 ENTRY(cosh) function
251 END(cosh)
[all...]
/bionic/libm/include/
H A Dmath.h154 double cosh(double);
/bionic/tests/
H A Dmath_test.cpp436 TEST(math, cosh) {
437 ASSERT_DOUBLE_EQ(1.0, cosh(0.0));
1494 DoMathDataTest<2>(g_cosh_intel_data, cosh);

Completed in 367 milliseconds