Home
last modified time | relevance | path

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

12345678910>>...13

/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 …]
Dieee754.txt169 >>> asin(NAN), acos(NAN), atan(NAN)
175 >>> acos(INF), acos(NINF)
/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/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/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/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/
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));
D489247.wgsl.expected.glsl5 float res = acos(1.0f);
35 float res = acos(1.0f);
55 float res = acos(1.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));
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));
D489247.wgsl26 // fn acos(f32) -> f32
28 var res: f32 = acos(1.0);
Da610c4.wgsl26 // fn acos(vec<3, f32>) -> vec<3, f32>
28 var res: vec3<f32> = acos(vec3<f32>());
D8e2acf.wgsl26 // fn acos(vec<4, f32>) -> vec<4, f32>
28 var res: vec4<f32> = acos(vec4<f32>());
Ddfc915.wgsl26 // fn acos(vec<2, f32>) -> vec<2, f32>
28 var res: vec2<f32> = acos(vec2<f32>());
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
Dmath_acos_test.cpp24 bool testResult = DoubleUlpCmp(g_acosData[i].expected, acos(g_acosData[i].input), 1);
36 EXPECT_DOUBLE_EQ(0.0, acos(1.0));
/third_party/skia/resources/sksl/runtime_errors/
DOssfuzz36655.rts20 (6).0ss;@if(acos(atan
38 (6).0ss;@if(acos(atan
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_trigonometric.inl76 // acos
77 using std::acos;
80 GLM_FUNC_QUALIFIER vecType<T, P> acos(vecType<T, P> const & v) function
82 return detail::functor1<T, T, P, vecType>::call(acos, v);
/third_party/musl/libc-test/src/api/
Dtgmath.c6 #ifdef acos in f()
7 {double r = acos(x);} in f()
9 #error no acos(x) in f()
/third_party/gstreamer/gstplugins_good/gst/smpte/
Dpaint.c269 angle_e = acos (((x1 - x0) * (x2 - x0) + (y1 - y0) * (y2 - y0)) / in gst_smpte_paint_triangle_clock()
282 angle = acos (((x1 - x0) * (x2 - x0) + (y1 - y0) * (i - y0)) / in gst_smpte_paint_triangle_clock()
296 angle = acos (((x1 - x0) * (i - x0) + (y1 - y0) * (y2 - y0)) / in gst_smpte_paint_triangle_clock()
328 angle_m = 2 * acos (((x1 - x0) * (xv - x0) + (y1 - y0) * (yv - y0)) / in gst_smpte_paint_box_clock()
/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/
Dgstsphere.c168 angle = acos (dx / sqrt (dx2 + z2)); in sphere_map()
175 angle = acos (dy / sqrt (dy2 + z2)); in sphere_map()
/third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.02/
D15.08.02.02-004.js15 assert(Math.acos(1) === +0.0);
D15.08.02.02-005.js15 assert(isNaN(Math.acos(1.000000000000001)));

12345678910>>...13