HomeSort by relevance Sort by last modified time
    Searched refs:cosh (Results 26 - 50 of 271) sorted by null

12 3 4 5 6 7 8 91011

  /prebuilts/ndk/9/sources/cxx-stl/system/include/
cmath 53 using ::cosh;
  /bionic/libm/upstream-freebsd/lib/msun/src/
e_cosh.c 19 * 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(0)=1 is exact for finite x
    [all...]
s_ccosh.c 30 * cosh(z) = cosh(x+iy)
31 * = cosh(x) cos(y) + i sinh(x) sin(y).
65 return (cpack(cosh(x), x * y));
67 return (cpack(cosh(x) * cos(y), sinh(x) * sin(y)));
69 /* |x| >= 22, so cosh(x) ~= exp(|x|) */
86 * cosh(+-0 +- I Inf) = dNaN + I sign(d(+-0, dNaN))0.
90 * cosh(+-0 +- I NaN) = d(NaN) + I sign(d(+-0, NaN))0.
98 * cosh(+-Inf +- I 0) = +Inf + I (+-)(+-)0.
100 * cosh(NaN +- I 0) = d(NaN) + I sign(d(NaN, +-0))0
    [all...]
  /external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
cosh_valarray.pass.cpp 16 // cosh(const valarray<T>& x);
46 std::valarray<T> v3 = cosh(v1);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.transcend/
cosh_valarray.pass.cpp 16 // cosh(const valarray<T>& x);
46 std::valarray<T> v3 = cosh(v1);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
Complex.java 527 * <code> cos(a + bi) = cos(a)cosh(b) - sin(a)sinh(b)i</code></pre>
530 * {@link MathUtils#cosh} and {@link MathUtils#sinh}.</p>
551 return createComplex(FastMath.cos(real) * MathUtils.cosh(imaginary),
561 * <code> cosh(a + bi) = cosh(a)cos(b) + sinh(a)sin(b)i</code></pre>
564 * {@link MathUtils#cosh} and {@link MathUtils#sinh}.</p>
573 * cosh(1 &plusmn; INFINITY i) = NaN + NaN i
574 * cosh(&plusmn;INFINITY + i) = INFINITY &plusmn; INFINITY i
575 * cosh(&plusmn;INFINITY &plusmn; INFINITY i) = NaN + NaN i</code></pre></p>
580 public Complex cosh() { method in class:Complex
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
valarray_test.cpp 46 tmp = cosh(darray);
72 tmp = cosh(farray);
99 tmp = cosh(ldarray);
cmath_test.cpp 105 CPPUNIT_CHECK( are_equals(std::cosh(0.0), 1.0) );
130 CPPUNIT_CHECK( are_equals(std::cosh(0.0f), 1.0f) );
157 CPPUNIT_CHECK( are_equals(std::cosh(0.0l), 1.0l) );
  /ndk/tests/device/test-stlport/unit/
valarray_test.cpp 46 tmp = cosh(darray);
72 tmp = cosh(farray);
99 tmp = cosh(ldarray);
  /external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
cos.pass.cpp 44 std::complex<double> z = cosh(t1);
cosh.pass.cpp 14 // cosh(const complex<T>& x);
25 assert(cosh(c) == x);
42 std::complex<double> r = cosh(x[i]);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/
cos.pass.cpp 44 std::complex<double> z = cosh(t1);
cosh.pass.cpp 14 // cosh(const complex<T>& x);
25 assert(cosh(c) == x);
42 std::complex<double> r = cosh(x[i]);
  /bionic/libm/x86/
e_cosh.S 35 // 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...]
  /libcore/luni/src/main/native/
java_lang_Math.cpp 91 return cosh(a);
131 NATIVE_METHOD(Math, cosh, "!(D)D"),
  /bionic/libm/x86_64/
e_cosh.S 35 // 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...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldAndroidMathTest.java 161 assertTrue(Double.isNaN(Math.cosh(Double.NaN)));
163 Double.POSITIVE_INFINITY, Math.cosh(Double.POSITIVE_INFINITY), 0D);
165 Double.POSITIVE_INFINITY, Math.cosh(Double.NEGATIVE_INFINITY), 0D);
166 assertEquals("Should return 1.0", 1.0, Math.cosh(+0.0), 0D);
167 assertEquals("Should return 1.0", 1.0, Math.cosh(-0.0), 0D);
170 Double.POSITIVE_INFINITY, Math.cosh(1234.56), 0D);
172 Double.POSITIVE_INFINITY, Math.cosh(-1234.56), 0D);
174 .cosh(0.000001), 0D);
176 .cosh(-0.000001), 0D);
178 .cosh(2.33482), 0D)
    [all...]
OldAndroidStrictMathTest.java 151 .cosh(Double.NaN)));
154 .cosh(Double.POSITIVE_INFINITY));
157 .cosh(Double.NEGATIVE_INFINITY));
158 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(+0.0));
159 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(-0.0));
162 Double.POSITIVE_INFINITY, StrictMath.cosh(1234.56));
164 Double.POSITIVE_INFINITY, StrictMath.cosh(-1234.56));
166 StrictMath.cosh(0.000001));
168 StrictMath.cosh(-0.000001));
170 StrictMath.cosh(2.33482))
    [all...]
  /external/v8/third_party/fdlibm/
fdlibm.js 765 // Math.cosh
767 // mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2
768 // 1. Replace x by |x| (cosh(x) = cosh(-x)).
771 // 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
775 // ln2/2 <= x <= 22 : cosh(x) := -------------------
777 // 22 <= x <= lnovft : cosh(x) := exp(x)/2
778 // lnovft <= x <= ln2ovft: cosh(x) := exp(x/2)/2 * exp(x/2)
779 // ln2ovft < x : cosh(x) := huge*huge (overflow)
782 // cosh(x) is |x| if x is +INF, -INF, or NaN
    [all...]
  /ndk/sources/cxx-stl/stlport/stlport/stl/
_cmath.h 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
367 _STLP_DMATH_INLINE(cosh)
438 _STLP_DEF_MATH_INLINE(cosh, cosh)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
560 using ::cosh;
  /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/
_cmath.h 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
367 _STLP_DMATH_INLINE(cosh)
438 _STLP_DEF_MATH_INLINE(cosh, cosh)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
560 using ::cosh;
  /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/
_cmath.h 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
367 _STLP_DMATH_INLINE(cosh)
438 _STLP_DEF_MATH_INLINE(cosh, cosh)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
560 using ::cosh;
  /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/
_cmath.h 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
367 _STLP_DMATH_INLINE(cosh)
438 _STLP_DEF_MATH_INLINE(cosh, cosh)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
560 using ::cosh;
  /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/
_cmath.h 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
367 _STLP_DMATH_INLINE(cosh)
438 _STLP_DEF_MATH_INLINE(cosh, cosh)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
560 using ::cosh;
  /prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/
_cmath.h 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
367 _STLP_DMATH_INLINE(cosh)
438 _STLP_DEF_MATH_INLINE(cosh, cosh)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
560 using ::cosh;

Completed in 2826 milliseconds

12 3 4 5 6 7 8 91011