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.java43 static BigInteger randomPositiveBigInteger(int numBits) { in randomPositiveBigInteger() method in MathBenchmarking
54 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 - 2).intValue(); in setUp()
DLongMathBenchmark.java24 import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
47 positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue(); in setUp()