/third_party/jerryscript/tests/jerry/es2015/ |
H A D | math-atanh.js | 24 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 D | gen-test-libm.c | 271 /* 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 D | math_atanh_test.cpp | 17 * @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 D | tgmath.c | 36 #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 D | atanhl.c | 6 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 D | atanh.c | 3 /* 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 D | atanhl.c | 6 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 D | atanh.c | 3 /* 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 D | doYouNeedToChangeYourTargetLibraryES2015.js | 52 const testMathAtanh = Math.atanh(0); 150 var testMathAtanh = Math.atanh(0);
|
/third_party/jerryscript/jerry-libm/include/ |
H A D | math.h | 67 double atanh (double);
|
/third_party/jerryscript/jerry-libm/ |
H A D | atanh.c | 30 /* 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 D | jerry-libm-internal.h | 97 double atanh (double x);
|
/third_party/node/deps/v8/src/base/ |
H A D | ieee754.h | 42 V8_BASE_EXPORT double atanh(double x);
|
/third_party/musl/libc-test/src/math/ |
H A D | atanh.c | 6 #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 D | tgmath.h | 152 #undef atanh macro 215 #define atanh(x) __tg_real_complex(atanh, (x)) macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | tgmath.h | 152 #undef atanh macro 215 #define atanh(x) __tg_real_complex(atanh, (x)) macro
|
/third_party/musl/include/ |
H A D | tgmath.h | 152 #undef atanh macro 215 #define atanh(x) __tg_real_complex(atanh, (x)) macro
|
/third_party/ffmpeg/libavfilter/tests/ |
H A D | dnn-layer-mathunary.c | 58 return atanh(f); in get_expected()
|
/third_party/ffmpeg/tests/dnn/ |
H A D | dnn-layer-mathunary-test.c | 58 return atanh(f); in get_expected()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/ |
H A D | func_trigonometric.hpp | 168 /// @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 D | SkSLIntrinsicList.h | 21 SKSL_INTRINSIC(atanh) \
|
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_backend_native_layer_mathunary.c | 134 dst[i] = atanh(src[i]); in ff_dnn_execute_layer_math_unary()
|
/third_party/decimal.js/test/modules/ |
H A D | immutability.js | 227 y = a.atanh(); 229 z = Decimal.atanh(a);
|
/third_party/python/Lib/test/ |
H A D | test_math.py | 310 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 D | ecma-builtin-math.c | 524 x = DOUBLE_TO_ECMA_NUMBER_T (atanh (x)); in ecma_builtin_math_dispatch_routine()
|