Home
last modified time | relevance | path

Searched refs:acos (Results 1 – 25 of 388) sorted by relevance

12345678910>>...16

/third_party/skia/resources/sksl/intrinsics/
DAcos.sksl6 return (acos(inputVal.x) == expected.x &&
7 acos(inputVal.xy) == expected.xy &&
8 acos(inputVal.xyz) == expected.xyz &&
9 acos(inputVal.xyzw) == expected.xyzw &&
10 acos(constVal.x) == expected.x &&
11 acos(constVal.xy) == expected.xy &&
12 acos(constVal.xyz) == expected.xyz &&
13 acos(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
/third_party/python/Lib/test/
Dcmath_testcases.txt64 -- acos: Inverse cosine --
68 acos0000 acos 0.0 0.0 -> 1.5707963267948966 -0.0
69 acos0001 acos 0.0 -0.0 -> 1.5707963267948966 0.0
70 acos0002 acos -0.0 0.0 -> 1.5707963267948966 -0.0
71 acos0003 acos -0.0 -0.0 -> 1.5707963267948966 0.0
74 acos0010 acos 1.0 0.0 -> 0.0 -0.0
75 acos0011 acos 1.0 -0.0 -> 0.0 0.0
76 acos0012 acos -1.0 0.0 -> 3.1415926535897931 -0.0
77 acos0013 acos -1.0 -0.0 -> 3.1415926535897931 0.0
80 acos0020 acos -9.8813129168249309e-324 0.0 -> 1.5707963267948966 -0.0
[all …]
/third_party/musl/src/math/i386/
Dacos.s1 # use acos(x) = atan2(fabs(sqrt((1-x)*(1+x))), x)
3 .global acos symbol
4 .type acos,@function
5 acos: label
/third_party/skia/tests/sksl/intrinsics/
DAcos.glsl8 …return ((((((acos(inputVal.x) == expected.x && acos(inputVal.xy) == expected.xy) && acos(inputVal.…
DAcos.metal18acos(_uniforms.inputVal.x) == _uniforms.expected.x && all(acos(_uniforms.inputVal.xy) == _uniforms…
/third_party/jerryscript/tests/unit-libm/
Dtest-libm.inc.h19 check_double ("acos (0.0)", acos (0.0), 1.57079632679489655800E+00);
20 check_double ("acos (-0.0)", acos (-0.0), 1.57079632679489655800E+00);
21 check_double ("acos (1.0)", acos (1.0), 0.00000000000000000000E+00);
22 check_double ("acos (-1.0)", acos (-1.0), 3.14159265358979311600E+00);
23 check_double ("acos (0.5)", acos (0.5), 1.04719755119659785336E+00);
24 check_double ("acos (-0.5)", acos (-0.5), 2.09439510239319570672E+00);
25 check_double ("acos (INFINITY)", acos (INFINITY), NAN);
26 check_double ("acos (-INFINITY)", acos (-INFINITY), NAN);
27 check_double ("acos (NAN)", acos (NAN), NAN);
28 check_double ("acos (6.9e-18)", acos (6.9e-18), 1.57079632679489655800E+00);
[all …]
/third_party/jerryscript/tools/unit-tests/
Dgen-test-libm.c55 GEN_DBL_TEST (acos (0.0)); in main()
56 GEN_DBL_TEST (acos (-0.0)); in main()
57 GEN_DBL_TEST (acos (1.0)); in main()
58 GEN_DBL_TEST (acos (-1.0)); in main()
59 GEN_DBL_TEST (acos (0.5)); in main()
60 GEN_DBL_TEST (acos (-0.5)); in main()
61 GEN_DBL_TEST (acos (INFINITY)); in main()
62 GEN_DBL_TEST (acos (-INFINITY)); in main()
63 GEN_DBL_TEST (acos (NAN)); in main()
64 GEN_DBL_TEST (acos (6.9e-18)); in main()
[all …]
/third_party/boost/libs/math/test/
Dcomplex_test.cpp136 inter = boost::math::acos(val); in test_inverse_trig()
298 result = boost::math::acos(ct(zero)); in check_spots()
301 result = boost::math::acos(ct(mzero)); in check_spots()
304 result = boost::math::acos(ct(zero, mzero)); in check_spots()
307 result = boost::math::acos(ct(mzero, mzero)); in check_spots()
312 result = boost::math::acos(ct(zero,nan)); in check_spots()
316 result = boost::math::acos(ct(mzero,nan)); in check_spots()
322 result = boost::math::acos(ct(zero, infinity)); in check_spots()
326 result = boost::math::acos(ct(zero, -infinity)); in check_spots()
333 result = boost::math::acos(ct(one, nan)); in check_spots()
[all …]
/third_party/boost/libs/units/test/
Dtest_trig.cpp63 BOOST_CHECK_EQUAL(boost::units::acos(0.2 * si_dimensionless), std::acos(0.2) * radians); in BOOST_AUTO_TEST_CASE()
64 … BOOST_CHECK_CLOSE_FRACTION(boost::units::acos(0.5 * degree_dimensionless).value(), 60.0, 0.0001); in BOOST_AUTO_TEST_CASE()
65 … BOOST_CHECK_EQUAL(boost::units::acos(0.2 * heterogeneous_dimensionless).value(), std::acos(0.2)); in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/math/test/compile_test/
Dcompl_acos_incl_test.cpp21 check_result<std::complex<float> >(boost::math::acos(std::complex<float>())); in compile_and_link_test()
22 check_result<std::complex<double> >(boost::math::acos(std::complex<double>())); in compile_and_link_test()
24 check_result<std::complex<long double> >(boost::math::acos(std::complex<long double>())); in compile_and_link_test()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dvector_angle.inl14 return acos(clamp(dot(x, y), genType(-1), genType(1)));
25 return acos(clamp(dot(x, y), T(-1), T(1)));
37 T const Angle(acos(clamp(dot(x, y), T(-1), T(1))));
55 T const Angle(acos(clamp(dot(x, y), T(-1), T(1))));
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/acos/
D489247.wgsl.expected.glsl5 float res = acos(1.0f);
35 float res = acos(1.0f);
55 float res = acos(1.0f);
Ddfc915.wgsl.expected.glsl5 vec2 res = acos(vec2(0.0f, 0.0f));
35 vec2 res = acos(vec2(0.0f, 0.0f));
55 vec2 res = acos(vec2(0.0f, 0.0f));
D8e2acf.wgsl.expected.glsl5 vec4 res = acos(vec4(0.0f, 0.0f, 0.0f, 0.0f));
35 vec4 res = acos(vec4(0.0f, 0.0f, 0.0f, 0.0f));
55 vec4 res = acos(vec4(0.0f, 0.0f, 0.0f, 0.0f));
Da610c4.wgsl.expected.glsl5 vec3 res = acos(vec3(0.0f, 0.0f, 0.0f));
35 vec3 res = acos(vec3(0.0f, 0.0f, 0.0f));
55 vec3 res = acos(vec3(0.0f, 0.0f, 0.0f));
/third_party/boost/boost/geometry/srs/projections/proj/
Dqsc.hpp261 phi = acos(q); in fwd()
264 phi = acos(r); in fwd()
267 phi = acos(-q); in fwd()
270 phi = acos(-r); in fwd()
282 … mu = atan((12.0 / pi) * (theta + acos(sin(theta) * cos(fourth_pi)) - half_pi)); in fwd()
354 phi = acos(cosphi); in inv()
366 phi = acos(cosphi); in inv()
420 lp_lat = acos(-s) - half_pi; in inv()
Dbipc.hpp123 z = acos(z); in fwd()
136 z = acos(z); in fwd()
154 al = acos(al); in fwd()
193 al = acos((math::pow(tan(T(0.5) * z), n) + in inv()
/third_party/boost/boost/qvm/
Dmath.hpp18 template <class T> T acos( T );
41 template <> BOOST_QVM_INLINE_TRIVIAL float acos<float>( float x ) { return ::acosf(x); } in acos() function
63 template <> BOOST_QVM_INLINE_TRIVIAL double acos<double>( double x ) { return ::acos(x); } in acos() function
85 …template <> BOOST_QVM_INLINE_TRIVIAL long double acos<long double>( long double x ) { return ::aco… in acos() function
/third_party/boost/boost/math/complex/
Dacos.hpp17 namespace std{ using ::sqrt; using ::fabs; using ::acos; using ::asin; using ::atan; using ::atan2;…
23 std::complex<T> acos(const std::complex<T>& z) in acos() function
106 …return std::complex<T>((x == 0) ? half_pi : std::acos(z.real()), (boost::math::changesign)(z.imag(… in acos()
129 real = std::acos(b); in acos()
171 real = std::acos(x); in acos()
/third_party/boost/libs/qvm/test/
Dmath_test.cpp38 test1<float>(&boost::qvm::acos<float>, &::acosf); in main()
59 test1<double>(&boost::qvm::acos<double>, &::acos); in main()
80 test1<long double>(&boost::qvm::acos<long double>, &::acosl); in main()
/third_party/boost/libs/math/doc/complex/
Dcomplex-tr1.qbk47 [section:acos acos]
51 #include <boost/math/complex/acos.hpp>
56 std::complex<T> acos(const std::complex<T>& z);
60 __formula [$../images/acos.png]
/third_party/mindspore/tests/st/ops/cpu/
Dtest_acos_op.py30 self.acos = P.ACos()
33 return self.acos(x)
/third_party/skia/resources/sksl/runtime_errors/
DOssfuzz36655.rts20 (6).0ss;@if(acos(atan
38 (6).0ss;@if(acos(atan
/third_party/boost/boost/numeric/interval/
Drounded_transc.hpp33 BOOST_NUMERIC_INTERVAL_new_func(acos)
64 BOOST_NUMERIC_INTERVAL_new_func(acos)
97 BOOST_NUMERIC_INTERVAL_new_func(acos)
/third_party/boost/libs/math/test/float128/
Dtest_std_lib.cpp26 …BOOST_CHECK_CLOSE_FRACTION(std::acos(BOOST_FLOAT128_C(0.25)), BOOST_FLOAT128_C(1.31811607165281796… in BOOST_AUTO_TEST_CASE()
27 …BOOST_CHECK_CLOSE_FRACTION(std::acos(BOOST_FLOAT128_C(-0.25)), BOOST_FLOAT128_C(1.8234765819369752… in BOOST_AUTO_TEST_CASE()
28 …BOOST_CHECK_CLOSE_FRACTION(std::acos(BOOST_FLOAT128_C(0.75)), BOOST_FLOAT128_C(0.72273424781341561… in BOOST_AUTO_TEST_CASE()
29 …BOOST_CHECK_CLOSE_FRACTION(std::acos(BOOST_FLOAT128_C(-0.75)), BOOST_FLOAT128_C(2.4188584057763776… in BOOST_AUTO_TEST_CASE()
30 BOOST_CHECK_EQUAL(std::acos(BOOST_FLOAT128_C(1.0)), 0); in BOOST_AUTO_TEST_CASE()
31 …BOOST_CHECK_CLOSE_FRACTION(std::acos(BOOST_FLOAT128_C(0.0)), BOOST_FLOAT128_C(1.570796326794896619… in BOOST_AUTO_TEST_CASE()
207 …BOOST_CHECK_CLOSE_FRACTION(real(acos(cm)), BOOST_FLOATMAX_C(0.963157593017707008618954476231675184… in BOOST_AUTO_TEST_CASE()
208 …BOOST_CHECK_CLOSE_FRACTION(imag(acos(cm)), BOOST_FLOATMAX_C(-2.15662466247239925020341473126370983… in BOOST_AUTO_TEST_CASE()

12345678910>>...16