Home
last modified time | relevance | path

Searched refs:cosh (Results 1 – 25 of 30) sorted by relevance

12

/external/stlport/src/
Dcomplex_trig.cpp69 return complex<_Tp>(::sin(z._M_re) * ::cosh(z._M_im), in sinT()
88 return complex<_Tp>(::cos(z._M_re) * ::cosh(z._M_im), in cosT()
113 _Tp den = ::cos(re2) + ::cosh(im2); in tanT()
134 ::cosh(z._M_re) * ::sin(z._M_im)); in sinhT()
152 return complex<_Tp>(::cosh(z._M_re) * ::cos(z._M_im), in coshT()
156 _STLP_DECLSPEC complex<float> _STLP_CALL cosh(const complex<float>& z) in cosh() function
159 _STLP_DECLSPEC complex<double> _STLP_CALL cosh(const complex<double>& z) in cosh() function
163 _STLP_DECLSPEC complex<long double> _STLP_CALL cosh(const complex<long double>& z) in cosh() function
176 _Tp den = ::cosh(re2) + ::cos(im2); in tanhT()
/external/stlport/stlport/stl/config/
D_como.h96 # define coshl cosh
117 # define coshf cosh
118 # define coshl cosh
168 # define coshl cosh
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DStemFunction.h72 static Scalar cosh(Scalar x, int n) in cosh() function
77 res = std::cosh(x); in cosh()
95 res = std::cosh(x); in sinh()
DMatrixFunction.h581 const MatrixFunctionReturnValue<Derived> MatrixBase<Derived>::cosh() const
585 return MatrixFunctionReturnValue<Derived>(derived(), StdStemFunctions<ComplexScalar>::cosh);
/external/stlport/test/unit/
Dvalarray_test.cpp46 tmp = cosh(darray); in transcendentals()
72 tmp = cosh(farray); in transcendentals()
99 tmp = cosh(ldarray); in transcendentals()
Dcmath_test.cpp105 CPPUNIT_CHECK( are_equals(std::cosh(0.0), 1.0) ); in import_checks()
130 CPPUNIT_CHECK( are_equals(std::cosh(0.0f), 1.0f) ); in import_checks()
157 CPPUNIT_CHECK( are_equals(std::cosh(0.0l), 1.0l) ); in import_checks()
/external/stlport/stlport/stl/
D_cmath.h345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh…
367 _STLP_DMATH_INLINE(cosh) in _STLP_DMATH_INLINE()
438 _STLP_DEF_MATH_INLINE(cosh, cosh)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sin…
560 using ::cosh;
D_complex.h882 _STLP_DECLSPEC complex<float> _STLP_CALL cosh(const complex<float>&);
901 _STLP_DECLSPEC complex<double> _STLP_CALL cosh(const complex<double>&);
921 _STLP_DECLSPEC complex<long double> _STLP_CALL cosh(const complex<long double>&);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DStrictMathTest.java324 .cosh(Double.NaN))); in test_cosh_D()
327 .cosh(Double.POSITIVE_INFINITY)); in test_cosh_D()
330 .cosh(Double.NEGATIVE_INFINITY)); in test_cosh_D()
331 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(+0.0)); in test_cosh_D()
332 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(-0.0)); in test_cosh_D()
335 Double.POSITIVE_INFINITY, StrictMath.cosh(1234.56)); in test_cosh_D()
337 Double.POSITIVE_INFINITY, StrictMath.cosh(-1234.56)); in test_cosh_D()
339 StrictMath.cosh(0.000001)); in test_cosh_D()
341 StrictMath.cosh(-0.000001)); in test_cosh_D()
343 StrictMath.cosh(2.33482)); in test_cosh_D()
[all …]
DMathTest.java322 assertTrue(Double.isNaN(Math.cosh(Double.NaN))); in test_cosh_D()
324 Double.POSITIVE_INFINITY, Math.cosh(Double.POSITIVE_INFINITY), 0D); in test_cosh_D()
326 Double.POSITIVE_INFINITY, Math.cosh(Double.NEGATIVE_INFINITY), 0D); in test_cosh_D()
327 assertEquals("Should return 1.0", 1.0, Math.cosh(+0.0), 0D); in test_cosh_D()
328 assertEquals("Should return 1.0", 1.0, Math.cosh(-0.0), 0D); in test_cosh_D()
331 Double.POSITIVE_INFINITY, Math.cosh(1234.56), 0D); in test_cosh_D()
333 Double.POSITIVE_INFINITY, Math.cosh(-1234.56), 0D); in test_cosh_D()
335 .cosh(0.000001), 0D); in test_cosh_D()
337 .cosh(-0.000001), 0D); in test_cosh_D()
339 .cosh(2.33482), 0D); in test_cosh_D()
[all …]
/external/skia/src/core/
DSkCordic.cpp192 int32_t cosh = kFixedInvGain2; in SkCordicExp() local
194 SkHyperbolic(&cosh, &sinh, &a, 0); in SkCordicExp()
195 return cosh + sinh; in SkCordicExp()
DSkPath.cpp916 SkScalar cosh = SkPoint::DotProduct(before, after); in arcTo() local
924 SkScalar dist = SkScalarMulDiv(radius, SK_Scalar1 - cosh, sinh); in arcTo()
/external/eigen/unsupported/doc/examples/
DMatrixSinh.cpp14 MatrixXf coshA = A.cosh(); in main()
/external/mesa3d/src/glsl/builtins/ir/
Dcosh1 ((function cosh
/external/llvm/test/Transforms/SimplifyLibCalls/
Dwin-math.ll98 declare double @cosh(double %x)
102 ; WIN32: double @cosh
104 %2 = call double @cosh(double %1)
/external/eigen/unsupported/Eigen/
DMatrixFunctions35 * - \ref matrixbase_cosh "MatrixBase::cosh()", for computing the matrix hyperbolic cosine
89 \section matrixbase_cosh MatrixBase::cosh()
94 const MatrixFunctionReturnValue<Derived> MatrixBase<Derived>::cosh() const
98 \returns expression representing \f$ \cosh(M) \f$
100 This function calls \ref matrixbase_matrixfunction "matrixFunction()" with StdStemFunctions::cosh().
/external/llvm/include/llvm/Target/
DTargetLibraryInfo.h119 cosh, enumerator
/external/eigen/unsupported/test/
Dmatrix_exponential.cpp65 ch = std::cosh(angle); in test2dHyperbolicRotation()
Dmatrix_function.cpp134 VERIFY_IS_APPROX_ABS(A.cosh(), (A.exp() + (-A).exp()) / 2); in testHyperbolicFunctions()
/external/clang/lib/Headers/
Dtgmath.h332 __tg_cosh(double __x) {return cosh(__x);} in __tg_cosh()
350 #undef cosh
351 #define cosh(__x) __tg_cosh(__tg_promote1((__x))(__x)) macro
/external/mesa3d/src/glsl/builtins/profiles/
D130.frag55 float cosh(float x);
56 vec2 cosh(vec2 x);
57 vec3 cosh(vec3 x);
58 vec4 cosh(vec4 x);
D130.vert55 float cosh(float x);
56 vec2 cosh(vec2 x);
57 vec3 cosh(vec3 x);
58 vec4 cosh(vec4 x);
/external/eigen/Eigen/src/Core/
DMatrixBase.h451 const MatrixFunctionReturnValue<Derived> cosh() const;
/external/llvm/lib/Analysis/
DConstantFolding.cpp1265 else if (Name == "cosh" && TLI->has(LibFunc::cosh)) in ConstantFoldCall()
1266 return ConstantFoldFP(cosh, V, Ty); in ConstantFoldCall()
/external/proguard/src/proguard/gui/
Ddefault.pro88 public static double cosh(double);

12