/libcore/benchmarks/src/benchmarks/ |
D | BigIntegerBenchmark.java | 54 BigInteger big = BigInteger.TEN.pow(prec).shiftLeft(30).add(BigInteger.ONE); in inner() 78 BigInteger scaledOne = BigInteger.TEN.pow(prec); in harmonic1000() 140 BigInteger scaledOne = BigInteger.TEN.pow(prec); in eApprox() 165 BigInteger odd1 = BigInteger.TEN.pow(len / 2).add(BigInteger.ONE); in repeatModPow() 166 BigInteger odd2 = BigInteger.TEN.pow(len / 2).add(BigInteger.valueOf(17)); in repeatModPow() 168 BigInteger exponent = BigInteger.TEN.pow(len / 2 - 1); in repeatModPow() 169 BigInteger base = BigInteger.TEN.pow(len / 4); in repeatModPow() 193 BigInteger odd1 = BigInteger.TEN.pow(len / 2).add(BigInteger.ONE); in repeatModInverse() 194 BigInteger odd2 = BigInteger.TEN.pow(len / 2).add(BigInteger.valueOf(17)); in repeatModInverse()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | EmptyNavigableSet.java | 229 SortedSet ss = navigableSet.subSet(null, BigInteger.TEN); in testSubSet() 250 SortedSet ss = navigableSet.subSet(obj1, BigInteger.TEN); in testSubSet() 272 Object first = isDescending(navigableSet) ? BigInteger.TEN : BigInteger.ZERO; in testSubSet() 273 Object last = (BigInteger.ZERO == first) ? BigInteger.TEN : BigInteger.ZERO; in testSubSet() 285 Object first = isDescending(navigableSet) ? BigInteger.TEN : BigInteger.ZERO; in testSubSetRanges() 286 Object last = (BigInteger.ZERO == first) ? BigInteger.TEN : BigInteger.ZERO; in testSubSetRanges() 320 subSet.headSet(isDescending(subSet) ? BigInteger.TEN : BigInteger.ZERO, true); in testheadSetRanges() 339 subSet.tailSet(isDescending(subSet) ? BigInteger.ZERO : BigInteger.TEN, false); in testTailSetRanges()
|
D | EmptyNavigableMap.java | 210 SortedMap ss = navigableMap.subMap(null, BigInteger.TEN); in testSubMap() 231 SortedMap ss = navigableMap.subMap(obj1, BigInteger.TEN); in testSubMap() 253 Object first = isDescending(navigableMap) ? BigInteger.TEN : BigInteger.ZERO; in testSubMap() 254 Object last = (BigInteger.ZERO == first) ? BigInteger.TEN : BigInteger.ZERO; in testSubMap() 265 Object first = isDescending(navigableMap) ? BigInteger.TEN : BigInteger.ZERO; in testSubMapRanges() 266 Object last = (BigInteger.ZERO == first) ? BigInteger.TEN : BigInteger.ZERO; in testSubMapRanges() 300 subMap.headMap(isDescending(subMap) ? BigInteger.TEN : BigInteger.ZERO, true); in testheadMapRanges() 319 subMap.tailMap(isDescending(subMap) ? BigInteger.ZERO : BigInteger.TEN, false); in testTailMapRanges()
|
/libcore/luni/src/test/java/libcore/java/security/spec/ |
D | EdECPointTest.java | 34 EdECPoint p = new EdECPoint(false, BigInteger.TEN); in testConstructor() 36 assertEquals(BigInteger.TEN, p.getY()); in testConstructor()
|
D | XECPublicKeySpecTest.java | 34 XECPublicKeySpec keySpec = new XECPublicKeySpec(NamedParameterSpec.X25519, BigInteger.TEN); in testConstructor() 36 assertEquals(BigInteger.TEN, keySpec.getU()); in testConstructor()
|
D | EdECPublicKeySpecTest.java | 40 point = new EdECPoint(false, BigInteger.TEN); in testConstructor()
|
/libcore/ojluni/src/test/java/math/BigDecimal/ |
D | PrecisionTests.java | 57 testValues[0] = testValues[0].multiply(TEN); in testPrecision() 58 testValues[1] = testValues[1].multiply(TEN).add(NINE); in testPrecision()
|
D | EqualsTests.java | 46 {ONE, TEN}, in testEquals()
|
D | SerializationTests.java | 64 BigDecimal.TEN, in testSerialization()
|
D | DivideTests.java | 73 BigInteger TEN = BigInteger.valueOf(10); in anotherDivide() local 85 int b_primeModTen = b_prime.mod(TEN).intValue() ; in anotherDivide() 92 b_prime = b_prime.divide(TEN); in anotherDivide()
|
D | SquareRootTests.java | 38 import static java.math.BigDecimal.TEN; 505 ONE_TENTH.compareTo(working) <= 0 && working.compareTo(TEN) < 0; 630 ulp = ulp.divide(TEN);
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | BigIntegerTest.java | 218 try_gcd_variants(BigInteger.TEN, two, two); in test_gcd() 219 try_gcd_variants(BigInteger.TEN, BigInteger.TEN, BigInteger.TEN); in test_gcd() 220 try_gcd_variants(BigInteger.TEN, BigInteger.ZERO, BigInteger.TEN); in test_gcd()
|
/libcore/ojluni/src/test/java/math/BigInteger/ |
D | TestValueExact.java | 74 BigInteger.TEN, in testIntValueExact() 104 BigInteger.TEN, in testShortValueExact() 138 BigInteger.TEN, in testByteValueExact()
|
D | SerializationTests.java | 79 BigInteger.TEN, in checkBigIntegerSerialRoundTrip() 134 BigInteger.TEN, in checkBigIntegerSubSerialRoundTrip()
|
D | OperatorNpeTests.java | 43 BigInteger[] specialValues = {ZERO, ONE, TEN}; in testOperatorsNpe()
|
D | LargeValueExceptions.java | 166 BigInteger.TEN.pow(Integer.MAX_VALUE); in powOverflow()
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
D | DSAParamsTest.java | 27 private final BigInteger q = BigInteger.TEN;
|
D | DSAKeyPairGeneratorTest.java | 33 private final BigInteger q = BigInteger.TEN;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | FormatterTest.java | 3622 { BigDecimal.TEN, "%e", "1.000000e+01" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3623 { BigDecimal.TEN, "%#.0e", "1.e+01" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3624 { BigDecimal.TEN, "%# 9.8e", " 1.00000000e+01" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3625 { BigDecimal.TEN, "%#+0(8.4e", "+1.0000e+01" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3626 { BigDecimal.TEN, "%-+17.6e", "+1.000000e+01 " }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3627 { BigDecimal.TEN, "% 0(20e", " 00000001.000000e+01" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionE() 3785 { BigDecimal.TEN, "%f", "10.000000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionF() 3786 { BigDecimal.TEN, "%#.3f", "10.000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionF() 3787 { BigDecimal.TEN, "%#,5f", "10.000000" }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionF() 3788 { BigDecimal.TEN, "%- #(12.0f", " 10. " }, in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalConversionF() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalConstructorsTest.java | 51 assertEquals("incorrect string value", oneS, BigDecimal.TEN.toString()); in testFieldTEN() 52 assertEquals("incorrect double value", oneD, BigDecimal.TEN.doubleValue(), 0); in testFieldTEN()
|
D | BigDecimalCompareTest.java | 508 BigDecimal testInstance = BigDecimal.TEN.multiply(new BigDecimal("0.1")); in testApproxPrecision()
|
/libcore/ojluni/annotations/sdk/nullability/java/math/ |
D | BigInteger.annotated.java | 61 @libcore.util.NonNull public static final BigInteger TEN = null; field in BigInteger
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 384 new BigDecimal(BigInteger.TEN, 10, 0, 2), 433 public static final BigDecimal TEN = field in BigDecimal 2202 ONE_TENTH.compareTo(working) <= 0 && working.compareTo(TEN) < 0; in sqrt() 2400 ulp = ulp.divide(TEN); 4106 return BigInteger.TEN.pow(n); 4130 pows[i] = pows[i - 1].multiply(BigInteger.TEN); 4953 while (intVal.compareMagnitude(BigInteger.TEN) >= 0 4957 qr = intVal.divideAndRemainder(BigInteger.TEN);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | AlgorithmParametersTest.java | 598 BigInteger q = BigInteger.TEN; in testDSAProvider()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 2917 totalBig = totalBig.multiply(BigInteger.TEN).add(BigInteger.valueOf(digit)); in parse() 2960 totalBig = totalBig.divide(BigInteger.TEN); in parse()
|