Home
last modified time | relevance | path

Searched refs:asinh (Results 1 – 25 of 244) sorted by relevance

12345678910

/third_party/skia/resources/sksl/intrinsics/
DAsinh.sksl6 return (asinh(inputVal.x) == expected.x &&
7 asinh(inputVal.xy) == expected.xy &&
8 asinh(inputVal.xyz) == expected.xyz &&
9 asinh(inputVal.xyzw) == expected.xyzw &&
10 asinh(constVal1.x) == expected.x &&
11 asinh(constVal1.xy) == expected.xy &&
12 asinh(constVal1.xyz) == expected.xyz &&
13 asinh(constVal1.xyzw) == expected.xyzw) ? colorGreen : colorRed;
/third_party/python/Lib/test/
Dcmath_testcases.txt11 -- <function> is the function to be tested (exp, cos, asinh, ...),
566 -- asinh: Inverse hyperbolic sine --
570 asinh0000 asinh 0.0 0.0 -> 0.0 0.0
571 asinh0001 asinh 0.0 -0.0 -> 0.0 -0.0
572 asinh0002 asinh -0.0 0.0 -> -0.0 0.0
573 asinh0003 asinh -0.0 -0.0 -> -0.0 -0.0
576 asinh0010 asinh 0.0 1.0 -> 0.0 1.5707963267948966
577 asinh0011 asinh 0.0 -1.0 -> 0.0 -1.5707963267948966
578 asinh0012 asinh -0.0 1.0 -> -0.0 1.5707963267948966
579 asinh0013 asinh -0.0 -1.0 -> -0.0 -1.5707963267948966
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dmath-asinh.js24 assert(isNaN(Math.asinh(NaN)));
25 assert(isSameZero(Math.asinh(p_zero), p_zero));
26 assert(isSameZero(Math.asinh(m_zero), m_zero));
27 assert(Math.asinh(Number.POSITIVE_INFINITY) === Number.POSITIVE_INFINITY);
28 assert(Math.asinh(Number.NEGATIVE_INFINITY) === Number.NEGATIVE_INFINITY);
/third_party/skia/tests/sksl/intrinsics/
DAsinh.glsl8 …return ((((((asinh(inputVal.x) == expected.x && asinh(inputVal.xy) == expected.xy) && asinh(inputV…
DAsinh.metal18asinh(_uniforms.inputVal.x) == _uniforms.expected.x && all(asinh(_uniforms.inputVal.xy) == _unifor…
/third_party/boost/libs/math/test/
Dtest_inv_hyp.cpp108 pg funcp = boost::math::asinh<value_type>; in do_test_asinh()
110 pg funcp = boost::math::asinh; in do_test_asinh()
239 BOOST_CHECK_CLOSE(::boost::math::asinh(static_cast<T>(0)), static_cast<T>(0), tolerance); in test_spots()
240 …BOOST_CHECK_CLOSE(::boost::math::asinh(static_cast<T>(1)/262145L), static_cast<T>(3.81468271375603… in test_spots()
241 …BOOST_CHECK_CLOSE(::boost::math::asinh(static_cast<T>(0.25)), static_cast<T>(0.2474664615472634529… in test_spots()
242 …BOOST_CHECK_CLOSE(::boost::math::asinh(static_cast<T>(1)), static_cast<T>(0.8813735870195430252326… in test_spots()
243 …BOOST_CHECK_CLOSE(::boost::math::asinh(static_cast<T>(10)), static_cast<T>(2.998222950297969738846… in test_spots()
244 …BOOST_CHECK_CLOSE(::boost::math::asinh(static_cast<T>(262145L)), static_cast<T>(13.169800245332588… in test_spots()
Dcomplex_test.cpp165 inter = boost::math::asinh(val); in test_inverse_trig()
549 result = boost::math::asinh(ct(zero, zero)); in check_spots()
553 result = boost::math::asinh(ct(mzero, zero)); in check_spots()
557 result = boost::math::asinh(ct(zero, mzero)); in check_spots()
561 result = boost::math::asinh(ct(mzero, mzero)); in check_spots()
567 result = boost::math::asinh(ct(one, infinity)); in check_spots()
571 result = boost::math::asinh(ct(one, -infinity)); in check_spots()
575 result = boost::math::asinh(ct(-one, -infinity)); in check_spots()
579 result = boost::math::asinh(ct(-one, infinity)); in check_spots()
586 result = boost::math::asinh(ct(one, nan)); in check_spots()
[all …]
Dasinh_test.hpp29 using ::boost::math::asinh; in asinh_error_evaluator()
35 T z = asinh(y); in asinh_error_evaluator()
65 BOOST_CHECK_EQUAL(boost::math::asinh(inf, pol), inf); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
66 BOOST_CHECK_EQUAL(boost::math::asinh(-inf, pol), -inf); in BOOST_TEST_CASE_TEMPLATE_FUNCTION()
Dtest_autodiff_4.cpp103 using boost::math::asinh; in BOOST_AUTO_TEST_CASE_TEMPLATE()
112 auto autodiff_v = asinh(make_fvar<T, m>(x)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
113 auto anchor_v = asinh(x); in BOOST_AUTO_TEST_CASE_TEMPLATE()
/third_party/jerryscript/tools/unit-tests/
Dgen-test-libm.c243 GEN_DBL_TEST (asinh (0.0)); in main()
244 GEN_DBL_TEST (asinh (-0.0)); in main()
245 GEN_DBL_TEST (asinh (1.0)); in main()
246 GEN_DBL_TEST (asinh (-1.0)); in main()
247 GEN_DBL_TEST (asinh (INFINITY)); in main()
248 GEN_DBL_TEST (asinh (-INFINITY)); in main()
249 GEN_DBL_TEST (asinh (NAN)); in main()
250 GEN_DBL_TEST (asinh (7.08e+02)); in main()
251 GEN_DBL_TEST (asinh (7.10e+02)); in main()
252 GEN_DBL_TEST (asinh (-7.40e+02)); in main()
[all …]
/third_party/jerryscript/tests/unit-libm/
Dtest-libm.inc.h197 check_double ("asinh (0.0)", asinh (0.0), 0.00000000000000000000E+00);
198 check_double ("asinh (-0.0)", asinh (-0.0), -0.00000000000000000000E+00);
199 check_double ("asinh (1.0)", asinh (1.0), 8.81373587019543047738E-01);
200 check_double ("asinh (-1.0)", asinh (-1.0), -8.81373587019543047738E-01);
201 check_double ("asinh (INFINITY)", asinh (INFINITY), INF);
202 check_double ("asinh (-INFINITY)", asinh (-INFINITY), -INF);
203 check_double ("asinh (NAN)", asinh (NAN), NAN);
204 check_double ("asinh (7.08e+02)", asinh (7.08e+02), 7.25559177299247970439E+00);
205 check_double ("asinh (7.10e+02)", asinh (7.10e+02), 7.25841264652828410675E+00);
206 check_double ("asinh (-7.40e+02)", asinh (-7.40e+02), -7.29979782329546722508E+00);
[all …]
/third_party/boost/libs/math/test/compile_test/
Dcompl_asinh_incl_test.cpp21 check_result<std::complex<float> >(boost::math::asinh(std::complex<float>())); in compile_and_link_test()
22 check_result<std::complex<double> >(boost::math::asinh(std::complex<double>())); in compile_and_link_test()
24 check_result<std::complex<long double> >(boost::math::asinh(std::complex<long double>())); in compile_and_link_test()
/third_party/boost/boost/math/special_functions/
Dasinh.hpp66 return(-asinh(-x, pol)); in asinh_imp()
88 inline typename tools::promote_args<T>::type asinh(T x) in asinh() function
90 return boost::math::asinh(x, policies::policy<>()); in asinh()
93 inline typename tools::promote_args<T>::type asinh(T x, const Policy&) in asinh() function
/third_party/musl/libc-test/src/math/gen/
DREADME8 check asinh in the [0.125,0.5] domain over 100k points and report >1.5ulp errors:
10 ./rnd -a 0x1p-3 -b 0x1p-1 -n 100000 |./gen asinh |./check asinh 1.5
/third_party/boost/libs/math/doc/complex/
Dcomplex-tr1.qbk81 [section:asinh asinh]
85 #include <boost/math/complex/asinh.hpp>
90 std::complex<T> asinh(const std::complex<T>& z);
94 __formula [$../images/asinh.png]
/third_party/musl/src/math/
Dasinhl.c6 return asinh(x); in asinhl()
39 return asinh(x); in asinhl()
/third_party/musl/porting/liteos_a/kernel/src/math/
Dasinhl.c6 return asinh(x); in asinhl()
39 return asinh(x); in asinhl()
/third_party/boost/libs/math/doc/sf/
Dinv_hyper.qbk142 [section:asinh asinh]
145 #include <boost/math/special_functions/asinh.hpp>
149 ``__sf_result`` asinh(const T x);
152 ``__sf_result`` asinh(const T x, const ``__Policy``&);
161 [graph asinh]
203 [endsect] [/section:asinh asinh]
/third_party/mindspore/tests/st/ops/cpu/
Dtest_asinh_op.py30 self.asinh = P.Asinh()
33 return self.asinh(x)
/third_party/boost/libs/math/test/float128/
Dtest_std_lib.cpp104 …BOOST_CHECK_CLOSE_FRACTION(std::asinh(BOOST_FLOAT128_C(0.5)), BOOST_FLOAT128_C(0.48121182505960344… in BOOST_AUTO_TEST_CASE()
105 …BOOST_CHECK_CLOSE_FRACTION(std::asinh(BOOST_FLOAT128_C(-0.5)), BOOST_FLOAT128_C(-0.481211825059603… in BOOST_AUTO_TEST_CASE()
106 …BOOST_CHECK_CLOSE_FRACTION(std::asinh(BOOST_FLOAT128_C(1.5)), BOOST_FLOAT128_C(1.19476321728710930… in BOOST_AUTO_TEST_CASE()
107 …BOOST_CHECK_CLOSE_FRACTION(std::asinh(BOOST_FLOAT128_C(-1.5)), BOOST_FLOAT128_C(-1.194763217287109… in BOOST_AUTO_TEST_CASE()
108 …BOOST_CHECK_CLOSE_FRACTION(std::asinh(BOOST_FLOAT128_C(30.5)), BOOST_FLOAT128_C(4.1111425008632158… in BOOST_AUTO_TEST_CASE()
109 …BOOST_CHECK_CLOSE_FRACTION(std::asinh(BOOST_FLOAT128_C(-30.5)), BOOST_FLOAT128_C(-4.11114250086321… in BOOST_AUTO_TEST_CASE()
110 BOOST_CHECK_EQUAL(std::asinh(BOOST_FLOAT128_C(0.0)), 0); in BOOST_AUTO_TEST_CASE()
232 …BOOST_CHECK_CLOSE_FRACTION(real(asinh(cm)), BOOST_FLOATMAX_C(2.14787287976856126021628946626513750… in BOOST_AUTO_TEST_CASE()
233 …BOOST_CHECK_CLOSE_FRACTION(imag(asinh(cm)), BOOST_FLOATMAX_C(0.93760050284009400234857022775555923… in BOOST_AUTO_TEST_CASE()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_trigonometric.inl135 // asinh
137 using std::asinh;
140 GLM_FUNC_QUALIFIER genType asinh(genType x) function
142 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'asinh' only accept floating-point inp…
149 GLM_FUNC_QUALIFIER vecType<T, P> asinh(vecType<T, P> const & v) function
151 return detail::functor1<T, T, P, vecType>::call(asinh, v);
/third_party/boost/boost/numeric/interval/
Drounded_transc.hpp42 BOOST_NUMERIC_INTERVAL_new_func(asinh)
77 BOOST_NUMERIC_INTERVAL_new_func(asinh)
122 BOOST_NUMERIC_INTERVAL_new_func(asinh)
/third_party/boost/libs/numeric/interval/examples/
Dtransc.cpp47 GENR_FUNC(asinh)
86 GENR_TEST(asinh); in main()
/third_party/boost/libs/multiprecision/example/
Dmpc_examples.cpp66 using std::asinh; in complex_number_examples()
67 std::cout << "asinh(z1) = " << asinh(z1) << std::endl; in complex_number_examples()
Dcpp_complex_examples.cpp66 using std::asinh; in complex_number_examples()
67 std::cout << "asinh(z1) = " << asinh(z1) << std::endl; in complex_number_examples()

12345678910