Home
last modified time | relevance | path

Searched refs:atan (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/resources/
Dmath_important_numbers.csv85 atan,0x1.37e1637253389p0,0x1.5bf0a8b145769p1,2.718281828459045
86 atan,-0x1.37e1637253389p0,-0x1.5bf0a8b145769p1,-2.718281828459045
87 atan,0x0.0p0,0x0.0p0,0.0
88 atan,-0x0.0p0,-0x0.0p0,-0.0
89 atan,0x1.921fb54442d18p-1,0x1.0p0,1.0
90 atan,-0x1.921fb54442d18p-1,-0x1.0p0,-1.0
91 atan,-0x1.dac670561bb4fp-2,-0x1.0p-1,-0.5
92 atan,0x1.dac670561bb4fp-2,0x1.0p-1,0.5
93 atan,-0x1.69b8154baf42ep0,-0x1.921fb54442d18p2,-6.283185307179586
94 atan,-0x1.67fe45e9cabc4p0,-0x1.815e630c155e1p2,-6.021385919380436
[all …]
Dmath_java_only.csv1533 atan,-0x1.33165704aa45cp0,-0x1.48ce7d70e6a0ap1
1534 atan,-0x1.de5952193ae66p-1,-0x1.5a57f5de17072p0
1535 atan,0x1.06f3498431431p-2,0x1.0ce2f7d413cdbp-2
1536 atan,0x1.09880a837be19p-1,0x1.243625fb54079p-1
1537 atan,0x1.2fe6d3eaa8704p-1,0x1.597506ebdf281p-1
1538 atan,-0x1.0fcd8b99dfc03p0,-0x1.caabf588a3cc5p0
1539 atan,-0x1.a49bc345118c4p-2,-0x1.bdf9ec63e50ffp-2
1540 atan,0x1.5ac7ec427eac8p-1,0x1.9bc23b48b72d8p-1
1541 atan,0x1.41945d04de0cp0,0x1.8951863009812p1
1542 atan,-0x1.6c74432d0e219p0,-0x1.afcb6cee7c77ap2
[all …]
Dmath_tests.csv5040 atan,0x1.37e1637253389p0,0x1.5bf0a8b145769p1,2.718281828459045
5041 atan,-0x1.37e1637253389p0,-0x1.5bf0a8b145769p1,-2.718281828459045
5042 atan,0x0.0p0,0x0.0p0,0.0
5043 atan,-0x0.0p0,-0x0.0p0,-0.0
5044 atan,0x1.921fb54442d18p-1,0x1.0p0,1.0
5045 atan,-0x1.921fb54442d18p-1,-0x1.0p0,-1.0
5046 atan,-0x1.dac670561bb4fp-2,-0x1.0p-1,-0.5
5047 atan,0x1.dac670561bb4fp-2,0x1.0p-1,0.5
5048 atan,-0x1.69b8154baf42ep0,-0x1.921fb54442d18p2,-6.283185307179586
5049 atan,-0x1.5c97d37d98aa4p0,-0x1.2d97c7f3321d2p2,-4.71238898038469
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidMathTest.java103 double answer = Math.tan(Math.atan(1.0)); in testAtanD()
107 assertEquals("wrong atan(1)", PI / 4, Math.atan(1d), 0); in testAtanD()
108 assertEquals("wrong atan(-1)", -PI / 4, Math.atan(-1), 0); in testAtanD()
109 assertEquals("wrong atan(+INF)", PI / 2, Math.atan(Double.POSITIVE_INFINITY), 0); in testAtanD()
110 assertEquals("wrong atan(-INF)", -PI / 2, Math.atan(Double.NEGATIVE_INFINITY), 0); in testAtanD()
115 assertEquals("wrong value for atan(0)", 0, Math.atan(0d), 0); in testAtanDZeroValues()
116 assertTrue("Wrong sign for atan(0)", Math.copySign(1, Math.atan(0d)) == 1); in testAtanDZeroValues()
118 assertEquals("wrong value for atan(-0)", negativeZero, Math.atan(negativeZero), 0); in testAtanDZeroValues()
119 assertTrue("Wrong sign for atan(-0)", Math.copySign(1, Math.atan(negativeZero)) == -1); in testAtanDZeroValues()
135 assertEquals("wrong atan2(2, 1)", Math.atan(2), Math.atan2(2, 1), 0); in testAtan2DD()
[all …]
DOldAndroidStrictMathTest.java80 double answer = StrictMath.tan(StrictMath.atan(1.0)); in testAtanD()
87 double answer = StrictMath.atan(StrictMath.tan(1.0)); in testAtan2DD()
551 StrictMath.tan(StrictMath.atan(1.0)) <= 1.0 in testTanD()
552 || StrictMath.tan(StrictMath.atan(1.0)) >= 9.9999999999999983E-1); in testTanD()
/libcore/ojluni/src/main/native/
Djfdlibm.h40 #define atan jatan macro
Dfdlibm.h119 extern double atan __P((double));
DStrictMath.c165 NATIVE_METHOD(StrictMath, atan, "(D)D"),
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java182 public static native double atan(double a); in atan() method in StrictMath
DMath.java239 public static native double atan(double a); in atan() method in Math
/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java97 StrictMath.atan(d); in timeAtan()
DMathBenchmark.java85 result = Math.atan(d); in timeAtan()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java109 double answer = StrictMath.tan(StrictMath.atan(1.0)); in test_atanD()
119 double answer = StrictMath.atan(StrictMath.tan(1.0)); in test_atan2DD()
1410 StrictMath.tan(StrictMath.atan(1.0)) <= 1.0 in test_tanD()
1411 || StrictMath.tan(StrictMath.atan(1.0)) >= 9.9999999999999983E-1); in test_tanD()
DMathTest.java103 double answer = Math.tan(Math.atan(1.0)); in test_atanD()
113 double answer = Math.atan(Math.tan(1.0)); in test_atan2DD()