Home
last modified time | relevance | path

Searched refs:TEN (Results 1 – 25 of 27) sorted by relevance

12

/libcore/benchmarks/src/benchmarks/
DBigIntegerBenchmark.java54 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/
DEmptyNavigableSet.java229 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()
DEmptyNavigableMap.java210 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/
DEdECPointTest.java34 EdECPoint p = new EdECPoint(false, BigInteger.TEN); in testConstructor()
36 assertEquals(BigInteger.TEN, p.getY()); in testConstructor()
DXECPublicKeySpecTest.java34 XECPublicKeySpec keySpec = new XECPublicKeySpec(NamedParameterSpec.X25519, BigInteger.TEN); in testConstructor()
36 assertEquals(BigInteger.TEN, keySpec.getU()); in testConstructor()
DEdECPublicKeySpecTest.java40 point = new EdECPoint(false, BigInteger.TEN); in testConstructor()
/libcore/ojluni/src/test/java/math/BigDecimal/
DPrecisionTests.java57 testValues[0] = testValues[0].multiply(TEN); in testPrecision()
58 testValues[1] = testValues[1].multiply(TEN).add(NINE); in testPrecision()
DEqualsTests.java46 {ONE, TEN}, in testEquals()
DSerializationTests.java64 BigDecimal.TEN, in testSerialization()
DDivideTests.java73 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()
DSquareRootTests.java38 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/
DBigIntegerTest.java218 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/
DTestValueExact.java74 BigInteger.TEN, in testIntValueExact()
104 BigInteger.TEN, in testShortValueExact()
138 BigInteger.TEN, in testByteValueExact()
DSerializationTests.java79 BigInteger.TEN, in checkBigIntegerSerialRoundTrip()
134 BigInteger.TEN, in checkBigIntegerSubSerialRoundTrip()
DOperatorNpeTests.java43 BigInteger[] specialValues = {ZERO, ONE, TEN}; in testOperatorsNpe()
DLargeValueExceptions.java166 BigInteger.TEN.pow(Integer.MAX_VALUE); in powOverflow()
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAParamsTest.java27 private final BigInteger q = BigInteger.TEN;
DDSAKeyPairGeneratorTest.java33 private final BigInteger q = BigInteger.TEN;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java3622 { 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/
DBigDecimalConstructorsTest.java51 assertEquals("incorrect string value", oneS, BigDecimal.TEN.toString()); in testFieldTEN()
52 assertEquals("incorrect double value", oneD, BigDecimal.TEN.doubleValue(), 0); in testFieldTEN()
DBigDecimalCompareTest.java508 BigDecimal testInstance = BigDecimal.TEN.multiply(new BigDecimal("0.1")); in testApproxPrecision()
/libcore/ojluni/annotations/sdk/nullability/java/math/
DBigInteger.annotated.java61 @libcore.util.NonNull public static final BigInteger TEN = null; field in BigInteger
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java384 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/
DAlgorithmParametersTest.java598 BigInteger q = BigInteger.TEN; in testDSAProvider()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java2917 totalBig = totalBig.multiply(BigInteger.TEN).add(BigInteger.valueOf(digit)); in parse()
2960 totalBig = totalBig.divide(BigInteger.TEN); in parse()

12