/libcore/luni/src/test/java/libcore/java/lang/ |
D | IntrinsicTest.java | 108 Math.cos(Math.PI); in testMath_cos() 109 Math.class.getMethod("cos", double.class).invoke(null, Math.PI); in testMath_cos() 113 Math.sin(Math.PI); in testMath_sin() 114 Math.class.getMethod("sin", double.class).invoke(null, Math.PI); in testMath_sin()
|
D | OldAndroidMathTest.java | 23 import static java.lang.Math.PI; 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() 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() [all …]
|
D | OldAndroidStrictMathTest.java | 586 4614256656552045848L, Double.doubleToLongBits(StrictMath.PI)); in testRandom()
|
/libcore/ojluni/src/test/java/util/Random/ |
D | RandomCanaryPi.java | 64 double delta = Math.abs(Math.PI - pi); in main() 69 System.err.println("Actual = " + Math.PI); in main()
|
D | RandomTest.java | 201 static final double FINITE = Math.PI;
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | PowTests.java | 115 /**/ -Math.PI, in testCrossProduct() 144 /**/ +Math.PI, in testCrossProduct()
|
D | IeeeRecommendedTests.java | 928 (float) Math.PI, in testFloatScalb() 1121 Math.PI, in testDoubleScalb()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | BidiBenchmark.java | 27 DecimalFormat.getInstance().formatToCharacterIterator(new BigDecimal(Math.PI));
|
D | DecimalFormatBenchmark.java | 102 format(Math.PI, reps); in time_formatPi()
|
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | LocalsAndOperands.java | 143 "himom", 0x3FF00000000L + 0xFFFF, Math.PI)); in knownLocalsProvider() 266 double d = Math.PI; in testLocalsUnused() 283 double d = Math.PI; in testLocalsKeepAlive() 326 new TwoSlotValue(Double.doubleToRawLongBits(Math.PI)),
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 125 public static final double PI = 3.141592653589793; field in StrictMath 138 public static final double TAU = 2.0 * PI;
|
D | Math.java | 155 public static final double PI = 3.141592653589793; field in Math 168 public static final double TAU = 2.0 * PI;
|
/libcore/ojluni/src/test/java/util/Optional/ |
D | BasicDouble.java | 48 static final double DOUBLEVAL = Math.PI;
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | JniTest.java | 298 … Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY, (float)Math.E, (float)Math.PI, 0, -1}; in testPassingFloats() 332 Math.E, Math.PI, 0, -1}; in testPassingDoubles()
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | StrictMath.annotated.java | 251 public static final double PI = 3.141592653589793; field in StrictMath
|
D | Math.annotated.java | 252 public static final double PI = 3.141592653589793; field in Math
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PrintStreamTest.java | 675 printStream.print(Math.PI); in test_autoFlush_flushesEverything() 699 printStream.print(Math.PI); in test_noAutoFlush()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 1451 4614256656552045848L, Double.doubleToLongBits(StrictMath.PI)); in test_random()
|
D | MathTest.java | 1863 4614256656552045848L, Double.doubleToLongBits(Math.PI)); in test_random()
|
/libcore/api/ |
D | current.txt | 3656 field public static final double PI = 3.141592653589793; 4098 field public static final double PI = 3.141592653589793;
|