Home
last modified time | relevance | path

Searched refs:atanh (Results 1 – 25 of 4657) sorted by relevance

12345678910>>...187

/dports/devel/emscripten/emscripten-2.0.3/tests/core/
H A Dtest_math_hyperbolic.out7 atanh: nan
15 atanh: nan
23 atanh: nan
31 atanh: nan
39 atanh: nan
47 atanh: nan
55 atanh: nan
63 atanh: nan
71 atanh: nan
79 atanh: nan
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/m2sci/tests/unit_tests/mfiles/
H A DATANH.m1 % Test file for function atanh()
5 res1 = atanh([]);
7 res2 = atanh(m2sciUnknownType([]));
9 res3 = atanh(m2sciUnknownDims([]));
11 res4 = atanh([1]);
13 res5 = atanh([1,2,3]);
15 res6 = atanh([1;2;3]);
17 res7 = atanh([1,2,3;4,5,6]);
35 res16 = atanh([i]);
37 res17 = atanh([i,2i,3i]);
[all …]
/dports/math/stan/stan-2.28.2/src/test/test-models/good/function-signatures/math/matrix/
H A Datanh.stan40 trans_x3y = atanh(x3y);
41 trans_x4y = atanh(x4y);
42 trans_x5y = atanh(x5y);
43 trans_x2z = atanh(x1z);
44 trans_x2z = atanh(x2z);
45 trans_x3z = atanh(x3z);
46 trans_x4z = atanh(x4z);
47 trans_x5z = atanh(x5z);
48 trans_x2w = atanh(x1w);
49 trans_x2w = atanh(x2w);
[all …]
/dports/devel/gcem/gcem-1.13.1/tests/
H A Datanh.cpp32 GCEM_TEST_COMPARE_VALS(gcem::atanh,std::atanh,-0.99L); in main()
33 GCEM_TEST_COMPARE_VALS(gcem::atanh,std::atanh,0.0L); in main()
34 GCEM_TEST_COMPARE_VALS(gcem::atanh,std::atanh,0.001L); in main()
35 GCEM_TEST_COMPARE_VALS(gcem::atanh,std::atanh,1.0L); in main()
36 GCEM_TEST_COMPARE_VALS(gcem::atanh,std::atanh,-1.0L); in main()
37 GCEM_TEST_COMPARE_VALS(gcem::atanh,std::atanh,1.1L); in main()
39 GCEM_TEST_COMPARE_VALS(gcem::atanh,std::atanh,TEST_NAN); in main()
/dports/math/stanmath/math-4.2.0/test/unit/math/prim/fun/
H A Datanh_test.cpp7 TEST(MathFunctions, atanh) { in TEST() argument
8 using stan::math::atanh; in TEST()
9 EXPECT_FLOAT_EQ(-3.341680472883148, atanh(-0.9975)); in TEST()
10 EXPECT_FLOAT_EQ(0, atanh(0)); in TEST()
11 EXPECT_FLOAT_EQ(0.5493061443340549, atanh(0.5)); in TEST()
15 using stan::math::atanh; in TEST()
16 EXPECT_THROW(atanh(-2), std::domain_error); in TEST()
17 EXPECT_THROW(atanh(2.0), std::domain_error); in TEST()
22 EXPECT_EQ(std::numeric_limits<double>::infinity(), stan::math::atanh(1)); in TEST()
26 using stan::math::atanh; in TEST()
[all …]
/dports/math/heyoka/heyoka-0.16.0/test/
H A Dtaylor_atanh.cpp116 using std::atanh;
145 using std::atanh;
163 const auto v0 = atanh(ta0.get_state()[0]);
175 using std::atanh; in __anonaf9925190202()
449 taylor_add_jet<fp_t>(s, "jet", {atanh(y), atanh(x)}, 1, 1, high_accuracy, compact_mode); in __anonaf9925190202()
462 REQUIRE(jet[2] == approximately(atanh(jet[1]))); in __anonaf9925190202()
469 taylor_add_jet<fp_t>(s, "jet", {atanh(y), atanh(x)}, 1, 2, high_accuracy, compact_mode); in __anonaf9925190202()
496 taylor_add_jet<fp_t>(s, "jet", {atanh(y), atanh(x)}, 2, 1, high_accuracy, compact_mode); in __anonaf9925190202()
518 taylor_add_jet<fp_t>(s, "jet", {atanh(y), atanh(x)}, 2, 2, high_accuracy, compact_mode); in __anonaf9925190202()
551 taylor_add_jet<fp_t>(s, "jet", {atanh(y), atanh(x)}, 3, 3, high_accuracy, compact_mode); in __anonaf9925190202()
[all …]
/dports/lang/gambit-c/gambit-4.9.3/tests/unit-tests/03-number/
H A Datanh.scm5 (check-eqv? (atanh 0) 0)
9 (check-= (atanh 2) (test-atanh 2))
10 (check-= (atanh 2+0.i) (test-atanh 2+0.i))
11 (check-= (atanh 2-0.i) (test-atanh 2-0.i))
12 (check-= (atanh -2) (test-atanh -2))
13 (check-= (atanh -2+0.i) (test-atanh -2+0.i))
14 (check-= (atanh -2-0.i) (test-atanh -2-0.i))
18 (check-eqv? (atanh 1e-30+1e-40i) 1e-30+1e-40i)
22 (check-tail-exn type-exception? (lambda () (atanh 'a)))
24 (check-tail-exn range-exception? (lambda () (atanh -1)))
[all …]
/dports/lang/php73/php-7.3.33/ext/standard/tests/math/
H A Datanh_basic.phpt2 Test return type and value for expected input atanh()
8 * proto float atanh(float number)
15 echo "atanh 0.46211715726001 = ";
16 var_dump(atanh(0.46211715726001));
17 if (allowed_rounding_error(atanh(0.46211715726001), 0.5))
25 echo "atanh 0.99505475368673 = ";
26 var_dump(atanh(0.99505475368673));
27 if (allowed_rounding_error(atanh(0.99505475368673), 3.0))
38 atanh 0.46211715726001 = float(%f)
40 atanh 0.99505475368673 = float(%f)
/dports/lang/php74/php-7.4.27/ext/standard/tests/math/
H A Datanh_basic.phpt2 Test return type and value for expected input atanh()
8 * proto float atanh(float number)
15 echo "atanh 0.46211715726001 = ";
16 var_dump(atanh(0.46211715726001));
17 if (allowed_rounding_error(atanh(0.46211715726001), 0.5))
25 echo "atanh 0.99505475368673 = ";
26 var_dump(atanh(0.99505475368673));
27 if (allowed_rounding_error(atanh(0.99505475368673), 3.0))
38 atanh 0.46211715726001 = float(%f)
40 atanh 0.99505475368673 = float(%f)
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/math/
H A Datanh_basic.phpt2 Test return type and value for expected input atanh()
8 * proto float atanh(float number)
15 echo "atanh 0.46211715726001 = ";
16 var_dump(atanh(0.46211715726001));
17 if (allowed_rounding_error(atanh(0.46211715726001), 0.5))
25 echo "atanh 0.99505475368673 = ";
26 var_dump(atanh(0.99505475368673));
27 if (allowed_rounding_error(atanh(0.99505475368673), 3.0))
38 atanh 0.46211715726001 = float(%f)
40 atanh 0.99505475368673 = float(%f)
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/math/
H A Datanh_basic.phpt2 Test return type and value for expected input atanh()
8 * proto float atanh(float number)
15 echo "atanh 0.46211715726001 = ";
16 var_dump(atanh(0.46211715726001));
17 if (allowed_rounding_error(atanh(0.46211715726001), 0.5))
25 echo "atanh 0.99505475368673 = ";
26 var_dump(atanh(0.99505475368673));
27 if (allowed_rounding_error(atanh(0.99505475368673), 3.0))
38 atanh 0.46211715726001 = float(%f)
40 atanh 0.99505475368673 = float(%f)
/dports/www/mod_php81/php-8.1.1/ext/standard/tests/math/
H A Datanh_basic.phpt2 Test return type and value for expected input atanh()
14 echo "atanh 0.46211715726001 = ";
15 var_dump(atanh(0.46211715726001));
16 if (allowed_rounding_error(atanh(0.46211715726001), 0.5))
24 echo "atanh 0.99505475368673 = ";
25 var_dump(atanh(0.99505475368673));
26 if (allowed_rounding_error(atanh(0.99505475368673), 3.0))
37 atanh 0.46211715726001 = float(%f)
39 atanh 0.99505475368673 = float(%f)
/dports/lang/php80/php-8.0.15/ext/standard/tests/math/
H A Datanh_basic.phpt2 Test return type and value for expected input atanh()
14 echo "atanh 0.46211715726001 = ";
15 var_dump(atanh(0.46211715726001));
16 if (allowed_rounding_error(atanh(0.46211715726001), 0.5))
24 echo "atanh 0.99505475368673 = ";
25 var_dump(atanh(0.99505475368673));
26 if (allowed_rounding_error(atanh(0.99505475368673), 3.0))
37 atanh 0.46211715726001 = float(%f)
39 atanh 0.99505475368673 = float(%f)
/dports/lang/php81/php-8.1.1/ext/standard/tests/math/
H A Datanh_basic.phpt2 Test return type and value for expected input atanh()
14 echo "atanh 0.46211715726001 = ";
15 var_dump(atanh(0.46211715726001));
16 if (allowed_rounding_error(atanh(0.46211715726001), 0.5))
24 echo "atanh 0.99505475368673 = ";
25 var_dump(atanh(0.99505475368673));
26 if (allowed_rounding_error(atanh(0.99505475368673), 3.0))
37 atanh 0.46211715726001 = float(%f)
39 atanh 0.99505475368673 = float(%f)
/dports/www/mod_php80/php-8.0.15/ext/standard/tests/math/
H A Datanh_basic.phpt2 Test return type and value for expected input atanh()
14 echo "atanh 0.46211715726001 = ";
15 var_dump(atanh(0.46211715726001));
16 if (allowed_rounding_error(atanh(0.46211715726001), 0.5))
24 echo "atanh 0.99505475368673 = ";
25 var_dump(atanh(0.99505475368673));
26 if (allowed_rounding_error(atanh(0.99505475368673), 3.0))
37 atanh 0.46211715726001 = float(%f)
39 atanh 0.99505475368673 = float(%f)
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/BiFModule/Languages/OpenCL/Math/
H A Datanh.cl12 float OVERLOADABLE atanh( float x )
14 return SPIRV_OCL_BUILTIN(atanh, _f32, )( x );
17 GENERATE_VECTOR_FUNCTIONS_1ARG_LOOP( atanh, float, float )
21 INLINE double OVERLOADABLE atanh( double x )
23 return SPIRV_OCL_BUILTIN(atanh, _f64, )( x );
26 GENERATE_VECTOR_FUNCTIONS_1ARG_LOOP( atanh, double, double )
32 INLINE half OVERLOADABLE atanh( half x )
34 return SPIRV_OCL_BUILTIN(atanh, _f16, )( x );
37 GENERATE_VECTOR_FUNCTIONS_1ARG_LOOP( atanh, half, half )
/dports/math/octave-forge-symbolic/symbolic-2.9.0/inst/@sym/
H A Datanh.m21 %% @defmethod @@sym atanh (@var{x})
22 %% Symbolic atanh function.
28 %% y = atanh (x)
29 %% @result{} y = (sym) atanh(x)
39 function y = atanh(x) function
55 %! f1 = atanh(x);
56 %! f2 = atanh(d);
62 %! f1 = atanh(A);
63 %! f2 = atanh(D);
69 %! A = atanh (d);
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/m2sci/tests/unit_tests/conversion/
H A DATANH.dia.ref27 !! complex part of output of atanh([]) will be the opposite of Matlab one.
31 !! complex part of output of atanh(m2sciUnknownDims([])) will be the opposite of Matlab one.
33 !! complex part of output of atanh(1) will be the opposite of Matlab one.
35 !! complex part of output of atanh([1,2,3]) will be the opposite of Matlab one.
37 !! complex part of output of atanh([1;2;3]) will be the opposite of Matlab one.
39 !! complex part of output of atanh([1,2,3;4,5,6]) will be the opposite of Matlab one.
49 !! complex part of output of atanh(m2sciUnknownDims(1)) will be the opposite of Matlab one.
58 !! complex part of output of atanh(%%i) will be the opposite of Matlab one.
61 !! complex part of output of atanh([%%i,2*%%i,3*%%i]) will be the opposite of Matlab one.
64 !! complex part of output of atanh([%%i;2*%%i;3*%%i]) will be the opposite of Matlab one.
[all …]
/dports/math/octave-forge-interval/interval-3.2.0/inst/@infsup/
H A Datanh.m18 ## @defmethod {@@infsup} atanh (@var{X})
26 ## atanh (infsup (.5))
37 function x = atanh (x) function
47 l = mpfr_function_d ('atanh', -inf, x.inf);
48 u = mpfr_function_d ('atanh', +inf, x.sup);
66 %! x = atanh (infsup (0));
76 %! testcases = testdata.NoSignal.infsup.atanh;
79 %! atanh (testcase.in{1}), ...
85 %! testcases = testdata.NoSignal.infsup.atanh;
88 %! assert (isequaln (atanh (in1), out));
[all …]
/dports/math/octave-forge-interval/interval-3.2.0/inst/@infsupdec/
H A Datanh.m18 ## @defmethod {@@infsupdec} atanh (@var{X})
26 ## atanh (infsupdec (.5))
37 function result = atanh (x) function
44 result = newdec (atanh (x.infsup));
46 ## atanh is continuous everywhere, but defined for ]-1, 1[ only
63 %! testcases = testdata.NoSignal.infsupdec.atanh;
66 %! atanh (testcase.in{1}), ...
72 %! testcases = testdata.NoSignal.infsupdec.atanh;
75 %! assert (isequaln (atanh (in1), out));
79 %! testcases = testdata.NoSignal.infsup.atanh;
[all …]
/dports/math/stanmath/math-4.2.0/stan/math/prim/fun/
H A Datanh.hpp27 inline double atanh(double x) { in atanh() function
32 return std::atanh(x); in atanh()
43 inline double atanh(int x) { in atanh() function
45 return std::atanh(x); in atanh()
61 return atanh(x); in fun()
78 inline auto atanh(const T& x) { in atanh() function
92 std::complex<double> y_d = atanh(value_of_rec(z)); in complex_atanh()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/BiFModule/Implementation/Math/
H A Datanh.cl17 float SPIRV_OVERLOADABLE SPIRV_OCL_BUILTIN(atanh, _f32, )( float x )
22 GENERATE_SPIRV_OCL_VECTOR_FUNCTIONS_1ARG_LOOP( atanh, float, float, f32 )
26 INLINE double SPIRV_OVERLOADABLE SPIRV_OCL_BUILTIN(atanh, _f64, )( double x )
31 GENERATE_SPIRV_OCL_VECTOR_FUNCTIONS_1ARG_LOOP( atanh, double, double, f64 )
37 INLINE half SPIRV_OVERLOADABLE SPIRV_OCL_BUILTIN(atanh, _f16, )( half x )
39 return SPIRV_OCL_BUILTIN(atanh, _f32, )((float)x);
42 GENERATE_SPIRV_OCL_VECTOR_FUNCTIONS_1ARG_LOOP( atanh, half, half, f16 )
/dports/devel/boost-docs/boost_1_72_0/libs/math/test/
H A Datanh_test.hpp28 using ::boost::math::atanh; in atanh_error_evaluator()
34 T z = atanh(y); in atanh_error_evaluator()
52 using ::boost::math::atanh; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
59 (abs(atanh<T>(static_cast<T>(0)))) in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
63 (abs(atanh<T>(static_cast<T>(3)/5) - log(static_cast<T>(2)))) in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
67 (abs(atanh<T>(static_cast<T>(-3)/5) + log(static_cast<T>(2)))) in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
88 BOOST_MATH_CHECK_THROW(atanh(T(-1)), std::overflow_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
89 BOOST_MATH_CHECK_THROW(atanh(T(1)), std::overflow_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
90 BOOST_MATH_CHECK_THROW(atanh(T(-2)), std::domain_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
91 BOOST_MATH_CHECK_THROW(atanh(T(2)), std::domain_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
/dports/devel/boost-python-libs/boost_1_72_0/libs/math/test/
H A Datanh_test.hpp28 using ::boost::math::atanh; in atanh_error_evaluator()
34 T z = atanh(y); in atanh_error_evaluator()
52 using ::boost::math::atanh; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
59 (abs(atanh<T>(static_cast<T>(0)))) in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
63 (abs(atanh<T>(static_cast<T>(3)/5) - log(static_cast<T>(2)))) in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
67 (abs(atanh<T>(static_cast<T>(-3)/5) + log(static_cast<T>(2)))) in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
88 BOOST_MATH_CHECK_THROW(atanh(T(-1)), std::overflow_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
89 BOOST_MATH_CHECK_THROW(atanh(T(1)), std::overflow_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
90 BOOST_MATH_CHECK_THROW(atanh(T(-2)), std::domain_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
91 BOOST_MATH_CHECK_THROW(atanh(T(2)), std::domain_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/math/test/
H A Datanh_test.hpp28 using ::boost::math::atanh; in atanh_error_evaluator()
34 T z = atanh(y); in atanh_error_evaluator()
52 using ::boost::math::atanh; in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
59 (abs(atanh<T>(static_cast<T>(0)))) in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
63 (abs(atanh<T>(static_cast<T>(3)/5) - log(static_cast<T>(2)))) in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
67 (abs(atanh<T>(static_cast<T>(-3)/5) + log(static_cast<T>(2)))) in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
88 BOOST_CHECK_THROW(atanh(T(-1)), std::overflow_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
89 BOOST_CHECK_THROW(atanh(T(1)), std::overflow_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
90 BOOST_CHECK_THROW(atanh(T(-2)), std::domain_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
91 BOOST_CHECK_THROW(atanh(T(2)), std::domain_error); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()

12345678910>>...187