Home
last modified time | relevance | path

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

123

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
D15.8.2.5.js46 …array[item++] = new TestCase( SECTION, "Math.atan2.length", 2, Math.atan2.len…
48 …array[item++] = new TestCase( SECTION, "Math.atan2(NaN, 0)", Number.NaN, Math.atan2(Num…
49 …array[item++] = new TestCase( SECTION, "Math.atan2(null, null)", 0, Math.atan2(nul…
50 …tCase( SECTION, "Math.atan2(void 0, void 0)", Number.NaN, Math.atan2(void 0, void 0) );
51 …em++] = new TestCase( SECTION, "Math.atan2()", Number.NaN, Math.atan2() );
53 …array[item++] = new TestCase( SECTION, "Math.atan2(0, NaN)", Number.NaN, Math.atan2(0,…
54 …array[item++] = new TestCase( SECTION, "Math.atan2(1, 0)", Math.PI/2, Math.atan2(1,…
55 …array[item++] = new TestCase( SECTION, "Math.atan2(1,-0)", Math.PI/2, Math.atan2(1,…
56 …array[item++] = new TestCase( SECTION, "Math.atan2(0,0.001)", 0, Math.atan2(0,…
57 …array[item++] = new TestCase( SECTION, "Math.atan2(0,0)", 0, Math.atan2(0,…
[all …]
/external/stlport/test/unit/
Dvalarray_test.cpp42 tmp = atan2(darray, tmp); in transcendentals()
43 tmp = atan2(1.0, darray); in transcendentals()
44 tmp = atan2(darray, 1.0); in transcendentals()
68 tmp = atan2(farray, tmp); in transcendentals()
69 tmp = atan2(1.0f, farray); in transcendentals()
70 tmp = atan2(farray, 1.0f); in transcendentals()
95 tmp = atan2(ldarray, tmp); in transcendentals()
96 tmp = atan2(1.0l, ldarray); in transcendentals()
97 tmp = atan2(ldarray, 1.0l); in transcendentals()
Dcmath_test.cpp104 CPPUNIT_CHECK( are_equals(std::tan(std::atan2(1.0, 1.0)), 1.0) ); in import_checks()
129 CPPUNIT_CHECK( are_equals(std::tan(std::atan2(1.0f, 1.0f)), 1.0f) ); in import_checks()
156 CPPUNIT_CHECK( are_equals(std::atan2(0.0l, 1.0l), 0.0l) ); in import_checks()
/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/stlport/stlport/stl/config/
D_como.h86 # define atan2l atan2
119 # define atan2l atan2
120 # define atan2f atan2
160 # define atan2l atan2
/external/stlport/src/
Dcomplex.cpp56 { return ::atan2(__z._M_im, __z._M_re); } in arg()
60 { return ::atan2(__z._M_im, __z._M_re); } in arg()
65 { return ::atan2(__z._M_im, __z._M_re); } in arg()
224 r._M_im = ::atan2(z._M_im, z._M_re) * ln10_inv; in log10T()
249 r._M_im = ::atan2(z._M_im, z._M_re); in logT()
288 _Tp logi = ::atan2(a._M_im, a._M_re); in powT()
298 _Tp logi = ::atan2(a._M_im, a._M_re); in powT()
/external/webkit/Source/WebCore/rendering/svg/
DSVGMarkerData.h55 double inslope = rad2deg(atan2(inslopeChange.height(), inslopeChange.width())); in currentAngle()
56 double outslope = rad2deg(atan2(outslopeChange.height(), outslopeChange.width())); in currentAngle()
/external/skia/src/animator/
DSkDisplayMath.cpp50 SK_FUNCTION(atan2),
122 SK_MEMBER_FUNCTION(atan2, Float),
165 case SK_FUNCTION(atan2): in executeFunction()
/external/stlport/stlport/stl/
D_cmath.h345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh…
364 _STLP_DMATH_INLINE2(atan2) in _STLP_DMATH_INLINE()
435 _STLP_DEF_MATH_INLINE2(atan2, atan2)
515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sin…
557 using ::atan2;
/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/v8/test/mjsunit/
Dto_number_order.js51 assertEquals(Math.atan2(1, 2), Math.atan2(v, w));
/external/valgrind/main/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/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/valgrind/main/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/main/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/valgrind/main/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/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/webkit/Source/JavaScriptCore/wtf/
DMathExtras.h175 result = ::atan2(x, y); in wtf_atan2()
186 #define atan2(x, y) wtf_atan2(x, y) macro
/external/webkit/PerformanceTests/SunSpider/
DUNCOVERED73 Math.atan2
/external/aac/libAACenc/src/
Dpsy_configuration.cpp298 FIXP_DBL bvalFFTLine, atan1, atan2; in FDKaacEnc_BarcLineValue() local
327 atan2 = fixp_atan(x2); in FDKaacEnc_BarcLineValue()
330 bvalFFTLine = fMult(ONE3P3, atan2) + fMult(THREEP5, fMult(atan1, atan1)); in FDKaacEnc_BarcLineValue()
/external/quake/quake/src/WinQuake/
Dcl_tent.cpp362 yaw = (int) (atan2(dist[1], dist[0]) * 180 / M_PI); in CL_UpdateTEnts()
367 pitch = (int) (atan2(dist[2], forward) * 180 / M_PI); in CL_UpdateTEnts()
/external/quake/quake/src/QW/client/
Dcl_tent.c386 yaw = (int) (atan2(dist[1], dist[0]) * 180 / M_PI); in CL_UpdateBeams()
391 pitch = (int) (atan2(dist[2], forward) * 180 / M_PI); in CL_UpdateBeams()
/external/llvm/test/Transforms/SimplifyLibCalls/
Dwin-math.ll43 declare double @atan2(double %x, double %y)
47 ; WIN32: double @atan2
50 %3 = call double @atan2(double %1, double %2)
/external/webkit/Source/WebCore/platform/graphics/transforms/
DAffineTransform.cpp61 double angle = atan2(m.b(), m.a()); in affineTransformDecompose()
232 return rotate(rad2deg(atan2(y, x))); in rotateFromVector()
/external/skia/include/core/
DSkFloatingPoint.h40 #define sk_float_atan2(y,x) (float)::atan2(y,x)

123