Home
last modified time | relevance | path

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

1234

/external/v8/test/mjsunit/es6/
Dmath-hyperbolic.js31 [Math.sinh, Math.cosh, Math.tanh, Math.asinh, Math.acosh, Math.atanh].
53 test_id(Math.tanh, Math.atanh, x);
54 test_id(Math.tanh, Math.atanh, -x);
58 [Math.sinh, Math.asinh, Math.tanh, Math.atanh].forEach(function(fun) {
90 assertEquals(1, Math.tanh(Infinity));
91 assertEquals(-1, Math.tanh(-Infinity));
113 assertEqualsDelta(0.4621171572600, Math.tanh(0.5), 1E-12);
114 assertEqualsDelta(0.9999092042625, Math.tanh(5), 1E-12);
115 assertEqualsDelta(-0.4621171572600, Math.tanh(-0.5), 1E-12);
116 assertEqualsDelta(-0.9999092042625, Math.tanh(-5), 1E-12);
[all …]
/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/vulkan-validation-layers/libs/glm/detail/
Dfunc_trigonometric.inl186 // tanh
188 GLM_FUNC_QUALIFIER genType tanh
193 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'tanh' only accept floating-point inpu…
195 return genType(std::tanh(angle));
198 VECTORIZE_VEC(tanh) argument
Dfunc_trigonometric.hpp165 GLM_FUNC_DECL genType tanh(genType const & angle);
/external/opencv3/3rdparty/openexr/Imath/
DImathMath.h102 static T tanh (T x) {return ::tanh (double(x));} in tanh() function
135 static float tanh (float x) {return ::tanhf (x);}
/external/gemmlowp/test/
Dtest_fixedpoint.cc140 double expected = std::tanh(a_double); in test_tanh()
141 double actual = ToDouble(tanh(a)); in test_tanh()
164 tanh(FixedPoint<int32_t, 4>::FromRaw(testvals_int32[i])).raw(); in test_int32x4()
169 tanh(FixedPoint<int32x4_t, 4>::FromRaw(vld1q_s32(&testvals_int32[i]))) in test_int32x4()
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dtanh.pass.cpp25 assert(tanh(c) == x); in test()
42 std::complex<double> r = tanh(x[i]); in test_edges()
Dtan.pass.cpp45 std::complex<double> t2 = tanh(t1); in test_edges()
/external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dtanh_valarray.pass.cpp46 std::valarray<T> v3 = tanh(v1); in main()
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dvec_math.hpp346 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, uchar, float)
347 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, char, float)
348 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, ushort, float)
349 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, short, float)
350 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, int, float)
351 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, uint, float)
352 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, float, float)
353 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanh, double, double)
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/
Dunary_func.hpp85 CV_CUDEV_EXPR_UNARY_FUNC(tanh) in CV_CUDEV_EXPR_UNARY_FUNC()
/external/ceres-solver/include/ceres/
Djet.h391 inline double tanh (double x) { return std::tanh(x); } in tanh() function
480 Jet<T, N> tanh(const Jet<T, N>& f) { in tanh() function
481 const T tanh_a = tanh(f.a); in tanh()
625 template<typename T, int N> inline Jet<T, N> ei_tanh(const Jet<T, N>& x) { return tanh(x); … in ei_tanh()
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dvec_math.hpp357 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, uchar, float)
358 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, char, float)
359 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, ushort, float)
360 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, short, float)
361 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, int, float)
362 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, uint, float)
363 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanhf, float, float)
364 CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(tanh, ::tanh, double, double)
/external/mesa3d/src/glsl/builtins/ir/
Dtanh.ir1 ((function tanh
/external/llvm/test/Transforms/InstCombine/
Ddouble-float-shrink-1.ll325 %call = call double @tanh(double %conv)
334 %call = call double @tanh(double %conv)
337 ; CHECK: call double @tanh(double %conv)
340 declare double @tanh(double) #1
Dwin-math.ll244 declare double @tanh(double %x)
248 ; WIN32: double @tanh
250 %2 = call double @tanh(double %1)
/external/deqp/framework/delibs/debase/
DdeMath.h147 DE_INLINE float deFloatTanh (float a) { return (float)tanh(a); } in deFloatTanh()
161 DE_INLINE double deTanh (double a) { return tanh(a); } in deTanh()
/external/clang/test/CodeGen/
Dlibcall-declarations.c172 double tanh(double);
296 F(tanf), F(tanl), F(tanh), F(tanhf), F(tanhl),
/external/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp57 Ambiguous tanh(Ambiguous){ return Ambiguous(); } in tanh() function
527 static_assert((std::is_same<decltype(std::tanh((float)0)), float>::value), ""); in test_tanh()
528 static_assert((std::is_same<decltype(std::tanh((bool)0)), double>::value), ""); in test_tanh()
529 static_assert((std::is_same<decltype(std::tanh((unsigned short)0)), double>::value), ""); in test_tanh()
530 static_assert((std::is_same<decltype(std::tanh((int)0)), double>::value), ""); in test_tanh()
531 static_assert((std::is_same<decltype(std::tanh((unsigned int)0)), double>::value), ""); in test_tanh()
532 static_assert((std::is_same<decltype(std::tanh((long)0)), double>::value), ""); in test_tanh()
533 static_assert((std::is_same<decltype(std::tanh((unsigned long)0)), double>::value), ""); in test_tanh()
534 static_assert((std::is_same<decltype(std::tanh((long long)0)), double>::value), ""); in test_tanh()
535 static_assert((std::is_same<decltype(std::tanh((unsigned long long)0)), double>::value), ""); in test_tanh()
[all …]
/external/llvm/test/Transforms/ConstProp/
Dcalls.ll23 declare double @tanh(double)
108 %16 = call double @tanh(double 3.000000e+00)
/external/webrtc/webrtc/modules/audio_processing/ns/
Dns_core.c699 ((float)tanh(widthPrior * (logLrtTimeAvgKsum - threshPrior0)) + 1.f); in SpeechNoiseProb()
714 ((float)tanh((float)sgnMap * widthPrior * (threshPrior1 - tmpFloat1)) + in SpeechNoiseProb()
726 0.5f * ((float)tanh(widthPrior * (tmpFloat1 - threshPrior2)) + 1.f); in SpeechNoiseProb()
1390 gainModHB = 0.5f * (1.f + (float)tanh(gainMapParHB * avgProbSpeechHBTmp)); in WebRtcNs_ProcessCore()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/
DComposableFunction.java163 return FastMath.tanh(d);
/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/libcxx/include/
Dcmath134 floating_point tanh (arithmetic x);
1036 // tanh
1038 using ::tanh;
1042 inline _LIBCPP_INLINE_VISIBILITY float tanh(float __lcpp_x) _NOEXCEPT {return tanhf(__l…
1043 inline _LIBCPP_INLINE_VISIBILITY long double tanh(long double __lcpp_x) _NOEXCEPT {return tanhl(__l…
1049 tanh(_A1 __lcpp_x) _NOEXCEPT {return tanh((double)__lcpp_x);}
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/
Dfunctional.hpp536 CV_CUDEV_UNARY_FUNCTION_INST(tanh, ::tanh)

1234