Home
last modified time | relevance | path

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

12345678910

/third_party/skia/resources/sksl/intrinsics/
DAcosh.sksl6 return (acosh(inputVal.x) == expected.x &&
7 acosh(inputVal.xy) == expected.xy &&
8 acosh(inputVal.xyz) == expected.xyz &&
9 acosh(inputVal.xyzw) == expected.xyzw &&
10 acosh(constVal1.x) == expected.x &&
11 acosh(constVal1.xy) == expected.xy &&
12 acosh(constVal1.xyz) == expected.xyz &&
13 acosh(constVal1.xyzw) == expected.xyzw) ? colorGreen : colorRed;
/third_party/jerryscript/tests/jerry/es2015/
Dmath-acosh.js24 assert(isNaN(Math.acosh(NaN)));
25 assert(isNaN(Math.acosh(0)));
26 assert(isNaN(Math.acosh(Number.NEGATIVE_INFINITY)));
27 assert(isSameZero(Math.acosh(1), p_zero));
28 assert(Math.acosh(Number.POSITIVE_INFINITY) === Number.POSITIVE_INFINITY);
/third_party/python/Lib/test/
Dcmath_testcases.txt236 -- acosh: Inverse hyperbolic cosine --
240 acosh0000 acosh 0.0 0.0 -> 0.0 1.5707963267948966
241 acosh0001 acosh 0.0 -0.0 -> 0.0 -1.5707963267948966
242 acosh0002 acosh -0.0 0.0 -> 0.0 1.5707963267948966
243 acosh0003 acosh -0.0 -0.0 -> 0.0 -1.5707963267948966
246 acosh0010 acosh 1.0 0.0 -> 0.0 0.0
247 acosh0011 acosh 1.0 -0.0 -> 0.0 -0.0
248 acosh0012 acosh -1.0 0.0 -> 0.0 3.1415926535897931
249 acosh0013 acosh -1.0 -0.0 -> 0.0 -3.1415926535897931
252 acosh0020 acosh -9.8813129168249309e-324 0.0 -> 0.0 1.5707963267948966
[all …]
/third_party/skia/tests/sksl/intrinsics/
DAcosh.glsl8 …return ((((((acosh(inputVal.x) == expected.x && acosh(inputVal.xy) == expected.xy) && acosh(inputV…
DAcosh.metal18acosh(_uniforms.inputVal.x) == _uniforms.expected.x && all(acosh(_uniforms.inputVal.xy) == _unifor…
/third_party/jerryscript/tests/unit-libm/
Dtest-libm.inc.h170 check_double ("acosh (0.0)", acosh (0.0), -NAN);
171 check_double ("acosh (-0.0)", acosh (-0.0), -NAN);
172 check_double ("acosh (1.0)", acosh (1.0), 0.00000000000000000000E+00);
173 check_double ("acosh (-1.0)", acosh (-1.0), -NAN);
174 check_double ("acosh (INFINITY)", acosh (INFINITY), INF);
175 check_double ("acosh (-INFINITY)", acosh (-INFINITY), -NAN);
176 check_double ("acosh (NAN)", acosh (NAN), NAN);
177 check_double ("acosh (7.08e+02)", acosh (7.08e+02), 7.25559077551410425144E+00);
178 check_double ("acosh (7.10e+02)", acosh (7.10e+02), 7.25841165466159132791E+00);
179 check_double ("acosh (-7.40e+02)", acosh (-7.40e+02), -NAN);
[all …]
/third_party/jerryscript/tools/unit-tests/
Dgen-test-libm.c214 GEN_DBL_TEST (acosh (0.0)); in main()
215 GEN_DBL_TEST (acosh (-0.0)); in main()
216 GEN_DBL_TEST (acosh (1.0)); in main()
217 GEN_DBL_TEST (acosh (-1.0)); in main()
218 GEN_DBL_TEST (acosh (INFINITY)); in main()
219 GEN_DBL_TEST (acosh (-INFINITY)); in main()
220 GEN_DBL_TEST (acosh (NAN)); in main()
221 GEN_DBL_TEST (acosh (7.08e+02)); in main()
222 GEN_DBL_TEST (acosh (7.10e+02)); in main()
223 GEN_DBL_TEST (acosh (-7.40e+02)); in main()
[all …]
/third_party/boost/libs/math/test/compile_test/
Dcompl_acosh_incl_test.cpp21 check_result<std::complex<float> >(boost::math::acosh(std::complex<float>())); in compile_and_link_test()
22 check_result<std::complex<double> >(boost::math::acosh(std::complex<double>())); in compile_and_link_test()
24 check_result<std::complex<long double> >(boost::math::acosh(std::complex<long double>())); in compile_and_link_test()
/third_party/boost/boost/math/special_functions/
Dchebyshev.hpp33 using std::acosh; in chebyshev_imp()
35 using boost::math::acosh; in chebyshev_imp()
55 return cosh(n*acosh(x)); in chebyshev_imp()
61 return -cosh(n*acosh(-x)); in chebyshev_imp()
65 return cosh(n*acosh(-x)); in chebyshev_imp()
Dacosh.hpp79 inline typename tools::promote_args<T>::type acosh(T x, const Policy&) in acosh() function
94 inline typename tools::promote_args<T>::type acosh(T x) in acosh() function
96 return boost::math::acosh(x, policies::policy<>()); in acosh()
/third_party/boost/libs/math/test/
Dtest_inv_hyp.cpp138 pg funcp = boost::math::acosh<value_type>; in do_test_acosh()
140 pg funcp = boost::math::acosh; in do_test_acosh()
234 …BOOST_CHECK_CLOSE(::boost::math::acosh(static_cast<T>(262145)/262144L), static_cast<T>(0.002762134… in test_spots()
235 …BOOST_CHECK_CLOSE(::boost::math::acosh(static_cast<T>(2)), static_cast<T>(1.3169578969248167086250… in test_spots()
236 …BOOST_CHECK_CLOSE(::boost::math::acosh(static_cast<T>(40)), static_cast<T>(4.381870348040066986963… in test_spots()
237 …BOOST_CHECK_CLOSE(::boost::math::acosh(static_cast<T>(262145L)), static_cast<T>(13.169800245325312… in test_spots()
Dcomplex_test.cpp177 inter = boost::math::acosh(val); in test_inverse_trig()
442 result = boost::math::acosh(ct(zero, zero)); in check_spots()
446 result = boost::math::acosh(ct(zero, mzero)); in check_spots()
450 result = boost::math::acosh(ct(mzero, zero)); in check_spots()
454 result = boost::math::acosh(ct(mzero, mzero)); in check_spots()
460 result = boost::math::acosh(ct(one, infinity)); in check_spots()
464 result = boost::math::acosh(ct(one, -infinity)); in check_spots()
471 result = boost::math::acosh(ct(one, nan)); in check_spots()
477 result = boost::math::acosh(ct(-infinity, one)); in check_spots()
481 result = boost::math::acosh(ct(infinity, one)); in check_spots()
[all …]
Dacosh_test.hpp29 using ::boost::math::acosh; in acosh_error_evaluator()
35 T z = acosh(y); in acosh_error_evaluator()
Dtest_autodiff_4.cpp87 using boost::math::acosh; in BOOST_AUTO_TEST_CASE_TEMPLATE()
95 auto autodiff_v = acosh(make_fvar<T, m>(x)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
96 auto anchor_v = acosh(x); in BOOST_AUTO_TEST_CASE_TEMPLATE()
/third_party/musl/src/math/
Dacoshl.c6 return acosh(x); in acoshl()
27 return acosh(x); in acoshl()
/third_party/musl/porting/liteos_a/kernel/src/math/
Dacoshl.c6 return acosh(x); in acoshl()
27 return acosh(x); in acoshl()
/third_party/boost/libs/math/doc/complex/
Dcomplex-tr1.qbk98 [section:acosh acosh]
102 #include <boost/math/complex/acosh.hpp>
107 std::complex<T> acosh(const std::complex<T>& z);
111 __formula [$../images/acosh.png]
/third_party/boost/libs/math/doc/sf/
Dinv_hyper.qbk76 [section:acosh acosh]
79 #include <boost/math/special_functions/acosh.hpp>
83 ``__sf_result`` acosh(const T x);
86 ``__sf_result`` acosh(const T x, const ``__Policy``&);
99 [graph acosh]
140 [endsect] [/section:acosh acosh]
/third_party/mindspore/tests/st/ops/cpu/
Dtest_acosh_op.py30 self.acosh = P.Acosh()
33 return self.acosh(x)
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_trigonometric.inl154 // acosh
156 using std::acosh;
159 GLM_FUNC_QUALIFIER genType acosh(genType x) function
161 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'acosh' only accept floating-point inp…
170 GLM_FUNC_QUALIFIER vecType<T, P> acosh(vecType<T, P> const & v) function
172 return detail::functor1<T, T, P, vecType>::call(acosh, v);
/third_party/boost/boost/numeric/interval/
Drounded_transc.hpp43 BOOST_NUMERIC_INTERVAL_new_func(acosh)
78 BOOST_NUMERIC_INTERVAL_new_func(acosh)
132 BOOST_NUMERIC_INTERVAL_new_func(acosh)
/third_party/boost/libs/math/reporting/accuracy/
DJamfile.v250 CEPHES_SOURCE = acosh.c airy.c asin.c asinh.c atan.c atanh.c bdtr.c beta.c
63 make $(here)/third_party/cephes_double/acosh.c : : @check_exists ;
68 explicit $(here)/third_party/cephes_double/acosh.c ;
74 [ check-target-builds $(here)/third_party/cephes_double/acosh.c : : <build>no ]
119 …: : : [ check-target-builds $(here)/third_party/cephes_double/acosh.c : <define>TEST_CEPHES <sourc…
/third_party/boost/libs/numeric/interval/examples/
Dtransc.cpp48 GENR_FUNC(acosh)
87 GENR_TEST(acosh); in main()
/third_party/boost/libs/math/doc/tr1/
Dc99_ref.qbk10 double acosh(double x);
100 acosh(2.0f); // also calls the float version and returns float.
101 acosh(2.0); // double version, returns double.
103 acosh(2.0L); // also calls the long double version.
104 acosh(2); // integer argument is treated as a double, returns double.
125 double acosh(double x);
/third_party/boost/libs/math/test/float128/
Dtest_std_lib.cpp112 …BOOST_CHECK_CLOSE_FRACTION(std::acosh(BOOST_FLOAT128_C(1.5)), BOOST_FLOAT128_C(0.96242365011920689… in BOOST_AUTO_TEST_CASE()
113 …BOOST_CHECK_CLOSE_FRACTION(std::acosh(BOOST_FLOAT128_C(30.5)), BOOST_FLOAT128_C(4.1106050108117531… in BOOST_AUTO_TEST_CASE()
114 …BOOST_CHECK_CLOSE_FRACTION(std::acosh(BOOST_FLOAT128_C(3000.5)), BOOST_FLOAT128_C(8.69968137322099… in BOOST_AUTO_TEST_CASE()
115 BOOST_CHECK_EQUAL(std::acosh(BOOST_FLOAT128_C(1.0)), 0.0); in BOOST_AUTO_TEST_CASE()
234 …BOOST_CHECK_CLOSE_FRACTION(real(acosh(cm)), BOOST_FLOATMAX_C(2.15662466247239925020341473126370983… in BOOST_AUTO_TEST_CASE()
235 …BOOST_CHECK_CLOSE_FRACTION(imag(acosh(cm)), BOOST_FLOATMAX_C(0.96315759301770700861895447623167518… in BOOST_AUTO_TEST_CASE()

12345678910