Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidMathTest.java124 assertEquals("wrong atan2(0, 1)", 0, Math.atan2(0, 1), 0); in testAtan2DD()
125 assertEquals("wrong atan2(1, 1)", PI / 4, Math.atan2(1, 1), 0); in testAtan2DD()
126 assertEquals("wrong atan2(1, 0)", PI / 2, Math.atan2(1, 0), 0); in testAtan2DD()
127 assertEquals("wrong atan2(1, -1)", 3 * PI / 4, Math.atan2(1, -1), 0); in testAtan2DD()
128 assertEquals("wrong atan2(0, -1)", PI, Math.atan2(0, -1), 0); in testAtan2DD()
129 assertEquals("wrong atan2(-1, -1)", -3 * PI / 4, Math.atan2(-1, -1), 0); in testAtan2DD()
130 assertEquals("wrong atan2(-1, 0)", -PI / 2, Math.atan2(-1, 0), 0); in testAtan2DD()
131 assertEquals("wrong atan2(-1, 1)", -PI / 4, Math.atan2(-1, 1), 0); in testAtan2DD()
134 assertEquals("atan2(42, 42) != atan2(1, 1)", Math.atan2(1, 1), Math.atan2(42, 42), 0); in testAtan2DD()
135 assertEquals("wrong atan2(2, 1)", Math.atan(2), Math.atan2(2, 1), 0); in testAtan2DD()
[all …]
/libcore/luni/src/test/resources/
Dmath_java_only.csv1333 atan2,0x1.de03edb049d13p-1,0x1.8531a596c72ddp0,0x1.2010ab87fdf6dp0
1334 atan2,0x1.5e0006fe03d5ep0,0x1.c182771ea4203p0,0x1.733d7681a0201p-2
1335 atan2,0x1.b72d4f4b19fddp-4,0x1.301d6da490bbdp-2,0x1.612ec509c4202p1
1336 atan2,0x1.6f866e02214e2p1,0x1.2351cd82c823bp0,-0x1.06d812d67873ap2
1337 atan2,-0x1.0b52faa4294e2p1,-0x1.8e2cbf42c945fp-2,-0x1.c580a7fc9515bp-3
1338 atan2,0x1.cf2522c614544p-2,0x1.7d2347a2a0dd1p-1,0x1.883636d3453dap0
1339 atan2,0x1.890fffc7530aap-3,0x1.a4d671182277ep-1,0x1.0eb7570fae77p2
1340 atan2,0x1.a6f9610e27639p0,0x1.cefa08776cab6p-2,-0x1.2e54c0dcddf09p-5
1341 atan2,-0x1.5ea763bb781efp1,-0x1.fcf1dc252265dp0,-0x1.2b2e4e65498dcp2
1342 atan2,0x1.97705aba63a9cp0,0x1.d48096493194ap2,-0x1.374eb130f3a5p-3
[all …]
/libcore/ojluni/src/main/native/
DMath.c86 return atan2(d1, d2); in Math_atan2()
149 FAST_NATIVE_METHOD(Math, atan2, "(DD)D"),
Djfdlibm.h41 #define atan2 jatan2 macro
Dfdlibm.h120 extern double atan2 __P((double, double));
DStrictMath.c171 NATIVE_METHOD(StrictMath, atan2, "(DD)D"),
/libcore/ojluni/annotations/mmodule/java/lang/
DMath.annotated.java71 public static native double atan2(double y, double x); in atan2() method in Math
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java509 public static native double atan2(double y, double x); in atan2() method in StrictMath
DMath.java507 public static native double atan2(double y, double x); in atan2() method in Math
/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java103 StrictMath.atan2(3, 4); in timeAtan2()
DMathBenchmark.java93 result = Math.atan2(3, 4); in timeAtan2()