/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_carg.c | 37 return (atan2(cimag(z), creal(z)));
|
e_atan2.c | 20 * 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x). 27 * ATAN2((anything), NaN ) is NaN; 28 * ATAN2(NAN , (anything) ) is NaN; 29 * ATAN2(+-0, +(anything but NaN)) is +-0 ; 30 * ATAN2(+-0, -(anything but NaN)) is +-pi ; 31 * ATAN2(+-(anything but 0 and NaN), 0) is +-pi/2; 32 * ATAN2(+-(anything but INF and NaN), +INF) is +-0 ; 33 * ATAN2(+-(anything but INF and NaN), -INF) is +-pi; 34 * ATAN2(+-INF,+INF ) is +-pi/4 [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestAtan2.rs | 26 return atan2(inY, inX); 31 return atan2(inY, inX); 36 return atan2(inY, inX); 41 return atan2(inY, inX);
|
/external/eigen/Eigen/src/Geometry/ |
EulerAngles.h | 39 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));
|
Rotation2D.h | 136 using std::atan2; 138 m_angle = atan2(mat.coeff(1,0), mat.coeff(0,0));
|
/bionic/libstdc++/include/ |
cmath | 51 using ::atan2;
|
/external/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.transcend/ |
atan2_valarray_valarray.pass.cpp | 16 // atan2(const valarray<T>& x, const valarray<T>& y); 48 std::valarray<T> v3 = atan2(v1, v2);
|
atan2_valarray_value.pass.cpp | 16 // atan2(const valarray<T>& x, const T& y); 46 std::valarray<T> v3 = atan2(v1, .75);
|
atan2_value_valarray.pass.cpp | 16 // atan2(const T& x, const valarray<T>& y); 46 std::valarray<T> v3 = atan2(.75, v1);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-925537.js | 38 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/chromium_org/v8/test/webkit/ |
math.js | 64 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(Infinity, NaN)", "NaN") [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
vector2.h | 66 double angle = atan2(y_, x_);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
MathExtrasTest.cpp | 186 EXPECT_EQ(M_PI_4, atan2(posInf, posInf)); 187 EXPECT_EQ(3.0 * M_PI_4, atan2(posInf, negInf)); 188 EXPECT_EQ(-M_PI_4, atan2(negInf, posInf)); 189 EXPECT_EQ(-3.0 * M_PI_4, atan2(negInf, negInf));
|
/external/clang/test/CodeGen/ |
libcalls.c | 96 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/numerics/complex.number/complex.transcendentals/ |
cos.pass.cpp | 38 const double pi = std::atan2(+0., -0.);
|
log10.pass.cpp | 37 const double pi = std::atan2(+0., -0.);
|
pow_complex_complex.pass.cpp | 39 const double pi = std::atan2(+0., -0.);
|
pow_complex_scalar.pass.cpp | 39 const double pi = std::atan2(+0., -0.);
|
pow_scalar_complex.pass.cpp | 39 const double pi = std::atan2(+0., -0.);
|
sin.pass.cpp | 38 const double pi = std::atan2(+0., -0.);
|
tan.pass.cpp | 39 const double pi = std::atan2(+0., -0.);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DeviceSensors.java | 294 values[0] = Math.atan2(-R[1], R[4]); 296 values[2] = Math.atan2(-R[6], R[8]); // gamma (-pi/2, pi/2) 298 values[0] = Math.atan2(R[1], -R[4]); 301 values[2] = Math.atan2(R[6], -R[8]); // gamma (-pi/2, pi/2) 304 values[0] = Math.atan2(-R[1], R[4]); 308 values[0] = Math.atan2(R[1], -R[4]); 314 values[0] = Math.atan2(R[3], R[0]);
|
/external/eigen/Eigen/src/Eigen2Support/ |
MathFunctions.h | 25 template<typename T> inline T ei_atan2(const T& x,const T& y) { using std::atan2; return atan2(x,y); }
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
Geometry.js | 91 var beta = Math.atan2(rotationMatrix.m23, rotationMatrix.m33); 92 var gamma = Math.atan2(-rotationMatrix.m13, Math.sqrt(rotationMatrix.m11 * rotationMatrix.m11 + rotationMatrix.m12 * rotationMatrix.m12)); 93 var alpha = Math.atan2(rotationMatrix.m12, rotationMatrix.m11);
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDisplayMath.cpp | 39 SK_FUNCTION(atan2), 64 (SkFunctionParamType) SkType_Float, // atan2 111 SK_MEMBER_FUNCTION(atan2, Float), 154 case SK_FUNCTION(atan2):
|