Home
last modified time | relevance | path

Searched refs:atan2 (Results 1 – 25 of 130) sorted by relevance

123456

/external/eigen/Eigen/src/Geometry/
DEulerAngles.h39 using std::atan2; in eulerAngles()
55 res[0] = atan2(coeff(j,i), coeff(k,i)); in eulerAngles()
60 res[1] = -atan2(s2, coeff(i,i)); in eulerAngles()
65 res[1] = atan2(s2, coeff(i,i)); in eulerAngles()
80 res[2] = atan2(c1*coeff(j,k)-s1*coeff(k,k), c1*coeff(j,j) - s1 * coeff(k,j)); in eulerAngles()
84 res[0] = atan2(coeff(j,k), coeff(k,k)); in eulerAngles()
88 res[1] = atan2(-coeff(i,k), -c2); in eulerAngles()
91 res[1] = atan2(-coeff(i,k), c2); in eulerAngles()
94 res[2] = atan2(s1*coeff(k,i)-c1*coeff(j,i), c1*coeff(j,j) - s1 * coeff(k,j)); in eulerAngles()
DRotation2D.h139 using std::atan2;
141 m_angle = atan2(mat.coeff(1,0), mat.coeff(0,0));
/external/v8/test/mjsunit/regress/
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/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DRotation.java627 FastMath.atan2(-(v1.getY()), v1.getZ()), in getAngles()
629 FastMath.atan2(-(v2.getY()), v2.getX()) in getAngles()
645 FastMath.atan2(v1.getZ(), v1.getY()), in getAngles()
647 FastMath.atan2(v2.getZ(), v2.getX()) in getAngles()
663 FastMath.atan2(v1.getX(), v1.getZ()), in getAngles()
665 FastMath.atan2(v2.getX(), v2.getY()) in getAngles()
681 FastMath.atan2(-(v1.getZ()), v1.getX()), in getAngles()
683 FastMath.atan2(-(v2.getZ()), v2.getY()) in getAngles()
699 FastMath.atan2(-(v1.getX()), v1.getY()), in getAngles()
701 FastMath.atan2(-(v2.getX()), v2.getZ()) in getAngles()
[all …]
/external/v8/test/webkit/
Dmath-expected.txt59 PASS Math.atan2(NaN, NaN) is NaN
60 PASS Math.atan2(NaN, 0) is NaN
61 PASS Math.atan2(NaN, -0) is NaN
62 PASS Math.atan2(NaN, 1) is NaN
63 PASS Math.atan2(NaN, Infinity) is NaN
64 PASS Math.atan2(NaN, -Infinity) is NaN
65 PASS Math.atan2(0, NaN) is NaN
66 PASS Math.atan2(-0, NaN) is NaN
67 PASS Math.atan2(1, NaN) is NaN
68 PASS Math.atan2(Infinity, NaN) is NaN
[all …]
/external/skia/src/animator/
DSkDisplayMath.cpp39 SK_FUNCTION(atan2),
111 SK_MEMBER_FUNCTION(atan2, Float),
154 case SK_FUNCTION(atan2): in executeFunction()
/external/deqp/android/cts/master/src/
Dgles31-test-issues.txt32 dEQP-GLES31.functional.shaders.builtin_functions.precision.atan2.mediump_*
33 dEQP-GLES31.functional.shaders.builtin_functions.precision.atan2.highp_*
/external/opencv/cvaux/src/
Dcvscanlines.cpp1523 r_angle[0] = (float) atan2( r_start_end[1] * height - r_epipole[1], in icvGetCoefficientStereo()
1525 r_angle[1] = (float) atan2( r_start_end[3] * height - r_epipole[1], in icvGetCoefficientStereo()
1549 l_angle[0] = (float) atan2( l_start_end[1] * height - l_epipole[1], in icvGetCoefficientStereo()
1551 l_angle[1] = (float) atan2( l_start_end[3] * height - l_epipole[1], in icvGetCoefficientStereo()
1587 l_angle[0] = (float) atan2( y - l_epipole[1], x - l_epipole[0] ); in icvGetCoefficientStereo()
1589 r_angle[0] = (float) atan2( r_point[1] - r_epipole[1], r_point[0] - r_epipole[0] ); in icvGetCoefficientStereo()
1617 r_angle[0] = (float) atan2( y - r_epipole[1], x - r_epipole[0] ); in icvGetCoefficientStereo()
1619 l_angle[0] = (float) atan2( l_point[1] - l_epipole[1], l_point[0] - l_epipole[0] ); in icvGetCoefficientStereo()
1636 l_angle[1] = (float) atan2( y - l_epipole[1], x - l_epipole[0] ); in icvGetCoefficientStereo()
1638 r_angle[1] = (float) atan2( r_point[1] - r_epipole[1], r_point[0] - r_epipole[0] ); in icvGetCoefficientStereo()
[all …]
/external/eigen/Eigen/src/Eigen2Support/
DMathFunctions.h25 template<typename T> inline T ei_atan2(const T& x,const T& y) { using std::atan2; return atan2(x,y)… in ei_atan2()
/external/v8/test/mjsunit/
Dto_number_order.js51 assertEquals(Math.atan2(1, 2), Math.atan2(v, w));
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DVector2f.java592 float angle = FastMath.atan2(otherVector.y, otherVector.x) in angleBetween()
593 - FastMath.atan2(y, x); in angleBetween()
622 return FastMath.atan2(y, x); in getAngle()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLocation.java291 sigma = Math.atan2(sinSigma, cosSigma); // (16) in computeDistanceAndBearing()
331 float initialBearing = (float) Math.atan2(cosU2 * sinLambda, in computeDistanceAndBearing()
336 float finalBearing = (float) Math.atan2(cosU1 * sinLambda, in computeDistanceAndBearing()
/external/valgrind/memcheck/tests/
Dvcpu_fbench.c352 #define atan2 I_atan2 macro
533 static double atan2(y, x) in atan2() function
570 return atan2(x, sqrt(1 - x * x));
/external/valgrind/perf/
Dfbench.c348 #define atan2 I_atan2 macro
529 static double atan2(y, x) in atan2() function
566 return atan2(x, sqrt(1 - x * x));
/external/valgrind/memcheck/tests/amd64/
Dmore_x87_fp.stdout.exp11 a=2.000000 b=3.000000 atan2(a, b)=0.588003
25 a=1.400000 b=-5.000000 atan2(a, b)=2.868584
/external/valgrind/memcheck/tests/x86/
Dmore_x86_fp.stdout.exp12 a=2.000000 b=3.000000 atan2(a, b)=0.588003
27 a=1.400000 b=-5.000000 atan2(a, b)=2.868584
/external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.transcend/
Datan2_value_valarray.pass.cpp46 std::valarray<T> v3 = atan2(.75, v1); in main()
Datan2_valarray_value.pass.cpp46 std::valarray<T> v3 = atan2(v1, .75); in main()
Datan2_valarray_valarray.pass.cpp48 std::valarray<T> v3 = atan2(v1, v2); in main()
/external/llvm/test/Transforms/ConstProp/
Dcalls.ll145 ; FNOBUILTIN: %1 = call double @atan2(double 3.000000e+00, double 3.000000e+00)
146 %1 = call double @atan2(double 3.000000e+00, double 3.000000e+00)
149 declare double @atan2(double, double)
/external/v8/test/webkit/fast/js/kde/
Dmath.js25 var negativeZero = Math.atan2(-1, Infinity); // ### any nicer way?
/external/clang/test/CodeGen/
Dlibcalls.c96 double atan2_ = atan2(d, 2); in test_builtins()
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dlog10.pass.cpp37 const double pi = std::atan2(+0., -0.); in test_edges()
Dcos.pass.cpp38 const double pi = std::atan2(+0., -0.); in test_edges()
Dpow_scalar_complex.pass.cpp39 const double pi = std::atan2(+0., -0.); in test_edges()

123456