Home
last modified time | relevance | path

Searched refs:randomPositiveBigInteger (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/math/
DMathBenchmarking.java52 static BigInteger randomPositiveBigInteger(int numBits) { in randomPositiveBigInteger() method in MathBenchmarking
81 BigInteger result = randomPositiveBigInteger(numBits); in randomNonZeroBigInteger()
/external/guava/guava-tests/benchmark/com/google/common/math/
DBigIntegerMathRoundingBenchmark.java22 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
48 positive[i] = randomPositiveBigInteger(1024); in setUp()
DLongMathRoundingBenchmark.java23 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
48 positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue(); in setUp()
DIntMathRoundingBenchmark.java23 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
45 positive[i] = randomPositiveBigInteger(Integer.SIZE - 2).intValue(); in setUp()
DIntMathBenchmark.java24 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
49 positive[i] = randomPositiveBigInteger(Integer.SIZE - 1).intValue(); in setUp()
DLongMathBenchmark.java24 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
47 positive[i] = randomPositiveBigInteger(Long.SIZE - 1).longValue(); in setUp()