Searched refs:atan2 (Results 1 - 25 of 101) sorted by relevance

12345

/external/v8/test/mjsunit/regress/
H A Dregress-925537.js38 assertClose( Math.PI / 4, Math.atan2(pinf, pinf));
39 assertClose(-Math.PI / 4, Math.atan2(ninf, pinf));
40 assertClose( 3 * Math.PI / 4, Math.atan2(pinf, ninf));
41 assertClose(-3 * Math.PI / 4, Math.atan2(ninf, ninf));
/external/eigen/Eigen/src/Geometry/
H A DEulerAngles.h39 using std::atan2;
55 res[0] = atan2(coeff(j,i), coeff(k,i));
60 res[1] = -atan2(s2, coeff(i,i));
65 res[1] = atan2(s2, coeff(i,i));
80 res[2] = atan2(c1*coeff(j,k)-s1*coeff(k,k), c1*coeff(j,j) - s1 * coeff(k,j));
84 res[0] = atan2(coeff(j,k), coeff(k,k));
88 res[1] = atan2(-coeff(i,k), -c2);
91 res[1] = atan2(-coeff(i,k), c2);
94 res[2] = atan2(s1*coeff(k,i)-c1*coeff(j,i), c1*coeff(j,j) - s1 * coeff(k,j));
H A DRotation2D.h139 using std::atan2;
141 m_angle = atan2(mat.coeff(1,0), mat.coeff(0,0));
/external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
H A Datan2_valarray_valarray.pass.cpp16 // atan2(const valarray<T>& x, const valarray<T>& y);
48 std::valarray<T> v3 = atan2(v1, v2);
H A Datan2_valarray_value.pass.cpp16 // atan2(const valarray<T>& x, const T& y);
46 std::valarray<T> v3 = atan2(v1, .75);
H A Datan2_value_valarray.pass.cpp16 // atan2(const T& x, const valarray<T>& y);
46 std::valarray<T> v3 = atan2(.75, v1);
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
H A DRotation.java627 FastMath.atan2(-(v1.getY()), v1.getZ()),
629 FastMath.atan2(-(v2.getY()), v2.getX())
645 FastMath.atan2(v1.getZ(), v1.getY()),
647 FastMath.atan2(v2.getZ(), v2.getX())
663 FastMath.atan2(v1.getX(), v1.getZ()),
665 FastMath.atan2(v2.getX(), v2.getY())
681 FastMath.atan2(-(v1.getZ()), v1.getX()),
683 FastMath.atan2(-(v2.getZ()), v2.getY())
699 FastMath.atan2(-(v1.getX()), v1.getY()),
701 FastMath.atan2(
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/
H A DBinaryFunction.java80 /** The {@code FastMath.atan2} method wrapped as a {@link BinaryFunction}. */
85 return FastMath.atan2(x, y);
/external/clang/test/CodeGen/
H A Dlibcalls.c96 double atan2_ = atan2(d, 2);
99 // CHECK-NO: declare double @atan2(double, double) [[NUW_RN]]
102 // CHECK-YES-NOT: declare double @atan2(double, double) [[NUW_RN]]
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
H A Dcos.pass.cpp38 const double pi = std::atan2(+0., -0.);
H A Dlog10.pass.cpp37 const double pi = std::atan2(+0., -0.);
H A Dpow_complex_complex.pass.cpp39 const double pi = std::atan2(+0., -0.);
H A Dpow_complex_scalar.pass.cpp39 const double pi = std::atan2(+0., -0.);
H A Dpow_scalar_complex.pass.cpp39 const double pi = std::atan2(+0., -0.);
H A Dsin.pass.cpp38 const double pi = std::atan2(+0., -0.);
H A Dtan.pass.cpp39 const double pi = std::atan2(+0., -0.);
/external/v8/test/webkit/fast/js/kde/
H A Dmath.js25 var negativeZero = Math.atan2(-1, Infinity); // ### any nicer way?
/external/eigen/Eigen/src/Eigen2Support/
H A DMathFunctions.h25 template<typename T> inline T ei_atan2(const T& x,const T& y) { using std::atan2; return atan2(x,y); }
/external/v8/test/mjsunit/
H A Dto_number_order.js51 assertEquals(Math.atan2(1, 2), Math.atan2(v, w));
53 assertEquals("hestfisk", x, "atan2");
/external/skia/src/animator/
H A DSkDisplayMath.cpp39 SK_FUNCTION(atan2),
64 (SkFunctionParamType) SkType_Float, // atan2
111 SK_MEMBER_FUNCTION(atan2, Float),
154 case SK_FUNCTION(atan2):
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DVector2f.java592 float angle = FastMath.atan2(otherVector.y, otherVector.x)
593 - FastMath.atan2(y, x);
622 return FastMath.atan2(y, x);
/external/valgrind/memcheck/tests/
H A Dvcpu_fbench.c352 #define atan2 I_atan2 macro
530 /* atan2(y,x) Return arctangent in radians of y/x,
533 static double atan2(y, x) function
539 if (y == 0.0) /* Special case: atan2(0,0) = 0 */
570 return atan2(x, sqrt(1 - x * x));
/external/valgrind/perf/
H A Dfbench.c348 #define atan2 I_atan2 macro
526 /* atan2(y,x) Return arctangent in radians of y/x,
529 static double atan2(y, x) function
535 if (y == 0.0) /* Special case: atan2(0,0) = 0 */
566 return atan2(x, sqrt(1 - x * x));
/external/libcxx/test/std/numerics/complex.number/complex.value.ops/
H A Darg.pass.cpp31 const double pi = std::atan2(+0., -0.);
/external/v8/test/webkit/
H A Dmath.js64 shouldBe("Math.atan2(NaN, NaN)", "NaN");
65 shouldBe("Math.atan2(NaN, 0)", "NaN");
66 shouldBe("Math.atan2(NaN, -0)", "NaN");
67 shouldBe("Math.atan2(NaN, 1)", "NaN");
68 shouldBe("Math.atan2(NaN, Infinity)", "NaN");
69 shouldBe("Math.atan2(NaN, -Infinity)", "NaN");
70 shouldBe("Math.atan2(0, NaN)", "NaN");
71 shouldBe("Math.atan2(-0, NaN)", "NaN");
72 shouldBe("Math.atan2(1, NaN)", "NaN");
73 shouldBe("Math.atan2(Infinit
[all...]

Completed in 1431 milliseconds

12345