Home
last modified time | relevance | path

Searched refs:atanh (Results 1 - 25 of 69) sorted by relevance

123

/third_party/jerryscript/tests/jerry/es2015/
H A Dmath-atanh.js24 assert(isNaN(Math.atanh(NaN)));
25 assert(isNaN(Math.atanh(2)));
26 assert(isNaN(Math.atanh(44)));
27 assert(isNaN(Math.atanh(-2)));
28 assert(isNaN(Math.atanh(-13)));
29 assert(isSameZero(Math.atanh(p_zero), p_zero));
30 assert(isSameZero(Math.atanh(m_zero), m_zero));
31 assert(Math.atanh(-1) === Number.NEGATIVE_INFINITY);
32 assert(Math.atanh(1) === Number.POSITIVE_INFINITY);
/third_party/jerryscript/tools/unit-tests/
H A Dgen-test-libm.c271 /* atanh tests */ in main()
272 GEN_DBL_TEST (atanh (0.0)); in main()
273 GEN_DBL_TEST (atanh (-0.0)); in main()
274 GEN_DBL_TEST (atanh (1.0)); in main()
275 GEN_DBL_TEST (atanh (-1.0)); in main()
276 GEN_DBL_TEST (atanh (INFINITY)); in main()
277 GEN_DBL_TEST (atanh (-INFINITY)); in main()
278 GEN_DBL_TEST (atanh (NAN)); in main()
279 GEN_DBL_TEST (atanh (7.08e+02)); in main()
280 GEN_DBL_TEST (atanh (7.1 in main()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
H A Dmath_atanh_test.cpp17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the atanh interface.
24 bool testResult = DoubleUlpCmp(g_atanhData[i].expected, atanh(g_atanhData[i].input), 2); in HWTEST_F()
31 * @tc.desc: When the parameter of atanh is valid, test the return value of the function.
36 EXPECT_DOUBLE_EQ(0.0, atanh(0.0)); in HWTEST_F()
/third_party/musl/libc-test/src/api/
H A Dtgmath.c36 #ifdef atanh in f()
37 {double r = atanh(x);} in f()
39 #error no atanh(x) in f()
/third_party/musl/src/math/
H A Datanhl.c6 return atanh(x); in atanhl()
9 /* atanh(x) = log((1+x)/(1-x))/2 = log1p(2x/(1-x))/2 ~= x + x^3/3 + o(x^5) */
H A Datanh.c3 /* atanh(x) = log((1+x)/(1-x))/2 = log1p(2x/(1-x))/2 ~= x + x^3/3 + o(x^5) */
4 double atanh(double x) in atanh() function
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Datanhl.c6 return atanh(x); in atanhl()
9 /* atanh(x) = log((1+x)/(1-x))/2 = log1p(2x/(1-x))/2 ~= x + x^3/3 + o(x^5) */
H A Datanh.c3 /* atanh(x) = log((1+x)/(1-x))/2 = log1p(2x/(1-x))/2 ~= x + x^3/3 + o(x^5) */
4 double atanh(double x) in atanh() function
/third_party/typescript/tests/baselines/reference/
H A DdoYouNeedToChangeYourTargetLibraryES2015.js52 const testMathAtanh = Math.atanh(0);
150 var testMathAtanh = Math.atanh(0);
/third_party/jerryscript/jerry-libm/include/
H A Dmath.h67 double atanh (double);
/third_party/jerryscript/jerry-libm/
H A Datanh.c30 /* atanh(x)
32 * 1.Reduced x to positive by atanh(-x) = -atanh(x)
35 * atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------)
39 * atanh(x) = 0.5 * log1p(2x + 2x * x / (1 - x))
42 * atanh(x) is NaN if |x| > 1 with signal;
43 * atanh(NaN) is that NaN with no signal;
44 * atanh(+-1) is +-INF with signal.
53 atanh (double x) in atanh() function
96 } /* atanh */ in atanh()
[all...]
H A Djerry-libm-internal.h97 double atanh (double x);
/third_party/node/deps/v8/src/base/
H A Dieee754.h42 V8_BASE_EXPORT double atanh(double x);
/third_party/musl/libc-test/src/math/
H A Datanh.c6 #include "sanity/atanh.h"
7 #include "special/atanh.h"
26 y = atanh(p->x); in main()
30 printf("%s:%d: bad fp exception: %s atanh(%a)=%a, want %s", in main()
37 printf("%s:%d: %s atanh(%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
/third_party/musl/porting/uniproton/kernel/include/
H A Dtgmath.h152 #undef atanh macro
215 #define atanh(x) __tg_real_complex(atanh, (x)) macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtgmath.h152 #undef atanh macro
215 #define atanh(x) __tg_real_complex(atanh, (x)) macro
/third_party/musl/include/
H A Dtgmath.h152 #undef atanh macro
215 #define atanh(x) __tg_real_complex(atanh, (x)) macro
/third_party/ffmpeg/libavfilter/tests/
H A Ddnn-layer-mathunary.c58 return atanh(f); in get_expected()
/third_party/ffmpeg/tests/dnn/
H A Ddnn-layer-mathunary-test.c58 return atanh(f); in get_expected()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
H A Dfunc_trigonometric.hpp168 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/atanh.xml">GLSL atanh man page</a>
171 GLM_FUNC_DECL vecType<T, P> atanh(vecType<T, P> const & x);
/third_party/skia/src/sksl/
H A DSkSLIntrinsicList.h21 SKSL_INTRINSIC(atanh) \
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_native_layer_mathunary.c134 dst[i] = atanh(src[i]); in ff_dnn_execute_layer_math_unary()
/third_party/decimal.js/test/modules/
H A Dimmutability.js227 y = a.atanh();
229 z = Decimal.atanh(a);
/third_party/python/Lib/test/
H A Dtest_math.py310 self.ftest('atanh(0)', math.atanh(0), 0)
311 self.ftest('atanh(0.5)', math.atanh(0.5), 0.54930614433405489)
312 self.ftest('atanh(-0.5)', math.atanh(-0.5), -0.54930614433405489)
313 self.assertRaises(ValueError, math.atanh, 1)
314 self.assertRaises(ValueError, math.atanh, -1)
315 self.assertRaises(ValueError, math.atanh, INF)
316 self.assertRaises(ValueError, math.atanh, NIN
[all...]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-math.c524 x = DOUBLE_TO_ECMA_NUMBER_T (atanh (x)); in ecma_builtin_math_dispatch_routine()

Completed in 10 milliseconds

123