Home
last modified time | relevance | path

Searched refs:tanh (Results 1 – 25 of 34) sorted by relevance

12

/external/stlport/test/unit/
Dvalarray_test.cpp51 tmp = tanh(darray); in transcendentals()
77 tmp = tanh(farray); in transcendentals()
104 tmp = tanh(ldarray); in transcendentals()
Dcmath_test.cpp108 CPPUNIT_CHECK( are_equals(std::tanh(0.0), 0.0) ); in import_checks()
133 CPPUNIT_CHECK( are_equals(std::tanh(0.0f), 0.0f) ); in import_checks()
160 CPPUNIT_CHECK( are_equals(std::tanh(0.0l), 0.0l) ); in import_checks()
/external/ceres-solver/internal/ceres/
Djet_test.cc170 J z = tanh(x + y); in TEST()
171 J w = (tanh(x) + tanh(y)) / (J(1.0) + tanh(x) * tanh(y)); in TEST()
/external/stlport/src/
Dcomplex_trig.cpp181 _STLP_DECLSPEC complex<float> _STLP_CALL tanh(const complex<float>& z) in tanh() function
184 _STLP_DECLSPEC complex<double> _STLP_CALL tanh(const complex<double>& z) in tanh() function
188 _STLP_DECLSPEC complex<long double> _STLP_CALL tanh(const complex<long double>& z) in tanh() function
/external/stlport/stlport/stl/
D_cmath.h345 … (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
381 _STLP_DMATH_INLINE(tanh) in _STLP_DMATH_INLINE()
452 _STLP_DEF_MATH_INLINE(tanh, tanh)
515 … (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh)
593 using ::tanh;
D_complex.h883 _STLP_DECLSPEC complex<float> _STLP_CALL tanh(const complex<float>&);
902 _STLP_DECLSPEC complex<double> _STLP_CALL tanh(const complex<double>&);
922 _STLP_DECLSPEC complex<long double> _STLP_CALL tanh(const complex<long double>&);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DStrictMathTest.java1355 assertTrue(Double.isNaN(StrictMath.tanh(Double.NaN))); in test_tanh_D()
1357 .tanh(Double.POSITIVE_INFINITY), 0D); in test_tanh_D()
1359 .tanh(Double.NEGATIVE_INFINITY), 0D); in test_tanh_D()
1361 .doubleToLongBits(StrictMath.tanh(0.0))); in test_tanh_D()
1363 .doubleToLongBits(StrictMath.tanh(+0.0))); in test_tanh_D()
1365 .doubleToLongBits(StrictMath.tanh(-0.0))); in test_tanh_D()
1367 assertEquals("Should return 1.0", 1.0, StrictMath.tanh(1234.56), 0D); in test_tanh_D()
1368 assertEquals("Should return -1.0", -1.0, StrictMath.tanh(-1234.56), 0D); in test_tanh_D()
1370 9.999999999996666E-7, StrictMath.tanh(0.000001), 0D); in test_tanh_D()
1372 StrictMath.tanh(2.33482), 0D); in test_tanh_D()
[all …]
DMathTest.java1758 assertTrue("Should return NaN", Double.isNaN(Math.tanh(Double.NaN))); in test_tanh_D()
1760 .tanh(Double.POSITIVE_INFINITY), 0D); in test_tanh_D()
1762 .tanh(Double.NEGATIVE_INFINITY), 0D); in test_tanh_D()
1764 .tanh(0.0))); in test_tanh_D()
1766 .doubleToLongBits(Math.tanh(+0.0))); in test_tanh_D()
1768 .doubleToLongBits(Math.tanh(-0.0))); in test_tanh_D()
1770 assertEquals("Should return 1.0", 1.0, Math.tanh(1234.56), 0D); in test_tanh_D()
1771 assertEquals("Should return -1.0", -1.0, Math.tanh(-1234.56), 0D); in test_tanh_D()
1773 9.999999999996666E-7, Math.tanh(0.000001), 0D); in test_tanh_D()
1775 .tanh(2.33482), 0D); in test_tanh_D()
[all …]
/external/llvm/test/Transforms/ConstProp/
Dcalls.ll118 ; FNOBUILTIN: %1 = call double @tanh(double 3.000000e+00)
119 %1 = call double @tanh(double 3.000000e+00)
122 declare double @tanh(double)
/external/ceres-solver/include/ceres/
Djet.h421 inline double tanh (double x) { return std::tanh(x); } in tanh() function
545 Jet<T, N> tanh(const Jet<T, N>& f) { in tanh() function
547 g.a = tanh(f.a); in tanh()
548 double tanh_a = tanh(f.a); in tanh()
708 template<typename T, int N> inline Jet<T, N> ei_tanh(const Jet<T, N>& x) { return tanh(x); … in ei_tanh()
/external/mesa3d/src/glsl/builtins/ir/
Dtanh.ir1 ((function tanh
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/
Dtanh.ir1 ((function tanh
/external/llvm/test/Transforms/InstCombine/
Ddouble-float-shrink-1.ll301 %call = call double @tanh(double %conv)
310 %call = call double @tanh(double %conv)
312 ; CHECK: call double @tanh(double %conv)
315 declare double @tanh(double) nounwind readnone
Dwin-math.ll244 declare double @tanh(double %x)
248 ; WIN32: double @tanh
250 %2 = call double @tanh(double %1)
/external/webrtc/src/modules/audio_processing/ns/
Dns_core.c665 indicator0 = (float)0.5 * ((float)tanh(widthPrior * in WebRtcNs_SpeechNoiseProb()
679 indicator1 = (float)0.5 * ((float)tanh((float)sgnMap * in WebRtcNs_SpeechNoiseProb()
690 indicator2 = (float)0.5 * ((float)tanh(widthPrior * (tmpFloat1 - threshPrior2)) in WebRtcNs_SpeechNoiseProb()
1274 gainModHB = (float)0.5 * ((float)1.0 + (float)tanh(gainMapParHB * avgProbSpeechHBTmp)); in WebRtcNs_ProcessCore()
/external/llvm/include/llvm/Target/
DTargetLibraryInfo.h586 tanh, enumerator
/external/clang/lib/Headers/
Dtgmath.h390 __tg_tanh(double __x) {return tanh(__x);} in __tg_tanh()
408 #undef tanh
409 #define tanh(__x) __tg_tanh(__tg_promote1((__x))(__x)) macro
/external/mesa3d/src/mesa/main/
Dimports.h141 #define tanhf(f) ((float) tanh(f))
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dimports.h141 #define tanhf(f) ((float) tanh(f))
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/profiles/
D130.glsl60 float tanh(float x);
61 vec2 tanh(vec2 x);
62 vec3 tanh(vec3 x);
63 vec4 tanh(vec4 x);
D140.glsl60 float tanh(float x);
61 vec2 tanh(vec2 x);
62 vec3 tanh(vec3 x);
63 vec4 tanh(vec4 x);
/external/mesa3d/src/glsl/builtins/profiles/
D130.glsl60 float tanh(float x);
61 vec2 tanh(vec2 x);
62 vec3 tanh(vec3 x);
63 vec4 tanh(vec4 x);
D140.glsl60 float tanh(float x);
61 vec2 tanh(vec2 x);
62 vec3 tanh(vec3 x);
63 vec4 tanh(vec4 x);
/external/llvm/lib/Analysis/
DConstantFolding.cpp1407 else if (Name == "tanh" && TLI->has(LibFunc::tanh)) in ConstantFoldCall()
1408 return ConstantFoldFP(tanh, V, Ty); in ConstantFoldCall()
/external/proguard/src/proguard/gui/
Ddefault.pro89 public static double tanh(double);

12