Home
last modified time | relevance | path

Searched refs:atan (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/third_party/skia/resources/sksl/intrinsics/
DAtan.sksl7 return (atan(inputVal.x) == expected.x &&
8 atan(inputVal.xy) == expected.xy &&
9 atan(inputVal.xyz) == expected.xyz &&
10 atan(inputVal.xyzw) == expected.xyzw &&
11 atan(constVal1.x) == expected.x &&
12 atan(constVal1.xy) == expected.xy &&
13 atan(constVal1.xyz) == expected.xyz &&
14 atan(constVal1.xyzw) == expected.xyzw &&
15 atan(inputVal.x, constVal2.x) == expected.x &&
16 atan(inputVal.xy, constVal2.xy) == expected.xy &&
[all …]
/third_party/skia/tests/sksl/intrinsics/
DAtan.glsl9atan(inputVal.x) == expected.x && atan(inputVal.xy) == expected.xy) && atan(inputVal.xyz) == expec…
DAtan.metal19atan(_uniforms.inputVal.x) == _uniforms.expected.x && all(atan(_uniforms.inputVal.xy) == _uniforms…
/third_party/python/Lib/test/
Dcmath_testcases.txt738 -- atan: Inverse tangent --
743 -- atan0000 atan 0.0 0.0 -> 0.0 0.0
744 -- atan0001 atan 0.0 -0.0 -> 0.0 -0.0
745 -- atan0002 atan -0.0 0.0 -> -0.0 0.0
746 -- atan0003 atan -0.0 -0.0 -> -0.0 -0.0
749 atan0010 atan 0.0 -9.8813129168249309e-324 -> 0.0 -9.8813129168249309e-324
750 atan0011 atan -0.0 -9.8813129168249309e-324 -> -0.0 -9.8813129168249309e-324
751 atan0012 atan 0.0 -1e-305 -> 0.0 -1e-305
752 atan0013 atan -0.0 -1e-305 -> -0.0 -1e-305
753 atan0014 atan 0.0 -1e-150 -> 0.0 -1e-150
[all …]
/third_party/jerryscript/tests/unit-libm/
Dtest-libm.inc.h79 check_double ("atan (0.0)", atan (0.0), 0.00000000000000000000E+00);
80 check_double ("atan (-0.0)", atan (-0.0), -0.00000000000000000000E+00);
81 check_double ("atan (7.0 / 16.0)", atan (7.0 / 16.0), 4.12410441597387322776E-01);
82 check_double ("atan (-7.0 / 16.0)", atan (-7.0 / 16.0), -4.12410441597387322776E-01);
83 check_double ("atan (11.0 / 16.0)", atan (11.0 / 16.0), 6.02287346134964152178E-01);
84 check_double ("atan (-11.0 / 16.0)", atan (-11.0 / 16.0), -6.02287346134964152178E-01);
85 check_double ("atan (19.0 / 16.0)", atan (19.0 / 16.0), 8.70903457075652975838E-01);
86 check_double ("atan (-19.0 / 16.0)", atan (-19.0 / 16.0), -8.70903457075652975838E-01);
87 check_double ("atan (39.0 / 16.0)", atan (39.0 / 16.0), 1.18147960496175574718E+00);
88 check_double ("atan (-39.0 / 16.0)", atan (-39.0 / 16.0), -1.18147960496175574718E+00);
[all …]
/third_party/jerryscript/tools/unit-tests/
Dgen-test-libm.c119 GEN_DBL_TEST (atan (0.0)); in main()
120 GEN_DBL_TEST (atan (-0.0)); in main()
121 GEN_DBL_TEST (atan (7.0 / 16.0)); in main()
122 GEN_DBL_TEST (atan (-7.0 / 16.0)); in main()
123 GEN_DBL_TEST (atan (11.0 / 16.0)); in main()
124 GEN_DBL_TEST (atan (-11.0 / 16.0)); in main()
125 GEN_DBL_TEST (atan (19.0 / 16.0)); in main()
126 GEN_DBL_TEST (atan (-19.0 / 16.0)); in main()
127 GEN_DBL_TEST (atan (39.0 / 16.0)); in main()
128 GEN_DBL_TEST (atan (-39.0 / 16.0)); in main()
[all …]
/third_party/vk-gl-cts/android/cts/master/src/
Dgles3-test-issues.txt24 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.scalar
25 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec2
26 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec3
27 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec4
28 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.scalar
29 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec2
30 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec3
31 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec4
32 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.scalar
33 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.vec2
[all …]
/third_party/boost/boost/geometry/srs/projections/proj/
Dgeos.hpp90 lp_lat = atan (this->m_proj_parm.radius_p2 * tan (lp_lat)); in fwd()
108 … xy_x = this->m_proj_parm.radius_g_1 * atan (Vy / boost::math::hypot (Vz, tmp)); in fwd()
109 xy_y = this->m_proj_parm.radius_g_1 * atan (Vz / tmp); in fwd()
111 xy_x = this->m_proj_parm.radius_g_1 * atan (Vy / tmp); in fwd()
112 … xy_y = this->m_proj_parm.radius_g_1 * atan (Vz / boost::math::hypot (Vy, tmp)); in fwd()
149 lp_lat = atan (Vz * cos (lp_lon) / Vx); in inv()
150 lp_lat = atan (this->m_proj_parm.radius_p_inv2 * tan (lp_lat)); in inv()
187 … xy_x = this->m_proj_parm.radius_g_1 * atan(Vy / boost::math::hypot(Vz, tmp)); in fwd()
188 xy_y = this->m_proj_parm.radius_g_1 * atan(Vz / tmp); in fwd()
190 xy_x = this->m_proj_parm.radius_g_1 * atan(Vy / tmp); in fwd()
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/src/
Dgles3-test-issues.txt24 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.scalar
25 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec2
26 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec3
27 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec4
28 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.scalar
29 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec2
30 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec3
31 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec4
32 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.scalar
33 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.vec2
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.6.x/src/
Dgles3-test-issues.txt24 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.scalar
25 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec2
26 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec3
27 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec4
28 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.scalar
29 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec2
30 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec3
31 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec4
32 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.scalar
33 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.vec2
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/master/src/
Dgles3-test-issues.txt24 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.scalar
25 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec2
26 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec3
27 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec4
28 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.scalar
29 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec2
30 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec3
31 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec4
32 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.scalar
33 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.vec2
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/
Dgles3-test-issues.txt24 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.scalar
25 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec2
26 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec3
27 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec4
28 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.scalar
29 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec2
30 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec3
31 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec4
32 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.scalar
33 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.vec2
[all …]
/third_party/vk-gl-cts/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/
Dgles3-test-issues.txt24 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.scalar
25 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec2
26 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec3
27 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_vertex.vec4
28 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.scalar
29 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec2
30 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec3
31 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.lowp_fragment.vec4
32 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.scalar
33 dEQP-GLES3.functional.shaders.builtin_functions.precision.atan.mediump_vertex.vec2
[all …]
/third_party/boost/libs/math/test/
Doctonion_test.cpp57 using ::std::atan;
75 using ::atan;
490 float theta = ::std::atan(1.0f); in octonion_manual_test()
491 float phi1 = ::std::atan(1.0f); in octonion_manual_test()
492 float phi2 = ::std::atan(1.0f); in octonion_manual_test()
493 float phi3 = ::std::atan(1.0f); in octonion_manual_test()
494 float phi4 = ::std::atan(1.0f); in octonion_manual_test()
495 float phi5 = ::std::atan(1.0f); in octonion_manual_test()
496 float phi6 = ::std::atan(1.0f); in octonion_manual_test()
513 float theta2 = ::std::atan(1.0f)*2; in octonion_manual_test()
[all …]
/third_party/boost/libs/units/test/
Dtest_trig.cpp69 BOOST_CHECK_EQUAL(boost::units::atan(0.2 * si_dimensionless), std::atan(0.2) * radians); in BOOST_AUTO_TEST_CASE()
70 … BOOST_CHECK_CLOSE_FRACTION(boost::units::atan(1.0 * degree_dimensionless).value(), 45.0, 0.0001); in BOOST_AUTO_TEST_CASE()
71 … BOOST_CHECK_EQUAL(boost::units::atan(0.2 * heterogeneous_dimensionless).value(), std::atan(0.2)); in BOOST_AUTO_TEST_CASE()
/third_party/flutter/skia/src/gpu/gradients/
DGrSweepGradientLayout.fp18 // On some devices they incorrectly implement atan2(y,x) as atan(y/x). In actuality it is
19 // atan2(y,x) = 2 * atan(y / (sqrt(x^2 + y^2) + x)). So to work around this we pass in (sqrt(x^2
22 // using atan instead.
25 angle = half(2 * atan(-sk_TransformedCoords2D[0].y,
28 angle = half(atan(-sk_TransformedCoords2D[0].y, -sk_TransformedCoords2D[0].x));
31 // 0.1591549430918 is 1/(2*pi), used since atan returns values [-pi, pi]
/third_party/musl/src/math/i386/
Datan.s1 .global atan symbol
2 .type atan,@function
3 atan: label
/third_party/boost/libs/math/test/compile_test/
Dcompl_atan_incl_test.cpp21 check_result<std::complex<float> >(boost::math::atan(std::complex<float>())); in compile_and_link_test()
22 check_result<std::complex<double> >(boost::math::atan(std::complex<double>())); in compile_and_link_test()
24 check_result<std::complex<long double> >(boost::math::atan(std::complex<long double>())); in compile_and_link_test()
/third_party/skia/resources/sksl/runtime_errors/
DOssfuzz36655.rts11 n();n();;;;;;;;;;atan;;;;;;;;;;;2;
20 (6).0ss;@if(acos(atan
38 (6).0ss;@if(acos(atan
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/crash_test/
Ddivbyzero_frag.amber105 color_out = vec4(atan(7.0, (fragcoord.y - 8.0)), 1.0, 0.0, 1.0);
109 color_out = vec4(atan(vec2(7.0), (fragcoord.yy - vec2(8.0))), 0.0, 1.0);
113 color_out = vec4(atan(vec3(7.0), (fragcoord.yyy - vec3(8.0))), 1.0);
117 color_out = atan(vec4(7.0), (fragcoord.yyyy - vec4(8.0)));
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/atan2/
D96057c.wgsl.expected.glsl5 float res = atan(1.0f, 1.0f);
35 float res = atan(1.0f, 1.0f);
55 float res = atan(1.0f, 1.0f);
D57fb13.wgsl.expected.glsl5 vec2 res = atan(vec2(0.0f, 0.0f), vec2(0.0f, 0.0f));
35 vec2 res = atan(vec2(0.0f, 0.0f), vec2(0.0f, 0.0f));
55 vec2 res = atan(vec2(0.0f, 0.0f), vec2(0.0f, 0.0f));
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/atan/
Dad96e4.wgsl.expected.glsl5 vec2 res = atan(vec2(0.0f, 0.0f));
35 vec2 res = atan(vec2(0.0f, 0.0f));
55 vec2 res = atan(vec2(0.0f, 0.0f));
D02979a.wgsl.expected.glsl5 float res = atan(1.0f);
35 float res = atan(1.0f);
55 float res = atan(1.0f);
D331e6d.wgsl.expected.glsl5 vec3 res = atan(vec3(0.0f, 0.0f, 0.0f));
35 vec3 res = atan(vec3(0.0f, 0.0f, 0.0f));
55 vec3 res = atan(vec3(0.0f, 0.0f, 0.0f));

12345678910>>...19