Searched refs:IntMath (Results 1 - 10 of 10) sorted by relevance

/external/guava/guava-tests/test/com/google/common/math/
H A DIntMathTest.java41 * Tests for {@link IntMath}.
51 IntMath.MAX_POWER_OF_SQRT2_UNSIGNED);
56 for (int i = 0; i < IntMath.POWERS_OF_10.length; i++) {
57 assertEquals(IntMath.pow(10, i), IntMath.POWERS_OF_10[i]);
63 for (int i = 0; i < IntMath.HALF_POWERS_OF_10.length; i++) {
64 assert IntMath.HALF_POWERS_OF_10[i]
72 for (int k = 0; k < IntMath.BIGGEST_BINOMIALS.length; k++) {
73 assertTrue(fitsInInt(BigIntegerMath.binomial(IntMath.BIGGEST_BINOMIALS[k], k)));
74 assertTrue(IntMath
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DBloomFilterStrategies.java7 import com.google.common.math.IntMath;
65 this(new long[IntMath.divide(bits, 64, RoundingMode.CEILING)]);
/external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
H A DIntMath.java42 public final class IntMath { class
197 private IntMath() {} method in class:IntMath
/external/guava/guava/src/com/google/common/math/
H A DIntMath.java53 public final class IntMath { class
511 private IntMath() {} method in class:IntMath
H A DLongMath.java44 * {@link IntMath} and {@link BigIntegerMath} respectively. For other common operations on
115 return IntMath.log10((int) x, mode);
246 return IntMath.sqrt((int) x, mode);
591 int d = IntMath.gcd(n, i);
H A DBigIntegerMath.java44 * {@link IntMath} and {@link LongMath} respectively.
293 int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING);
/external/guava/guava/src/com/google/common/collect/
H A DConcurrentHashMultiset.java26 import com.google.common.math.IntMath;
240 int newValue = IntMath.checkedAdd(oldValue, occurrences);
H A DMinMaxPriorityQueue.java26 import com.google.common.math.IntMath;
932 : IntMath.checkedMultiply(oldCapacity / 2, 3);
H A DSets.java31 import com.google.common.math.IntMath;
1000 dividend = IntMath.checkedMultiply(dividend, axis.size());
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DSets.java30 import com.google.common.math.IntMath;
988 dividend = IntMath.checkedMultiply(dividend, axis.size());

Completed in 181 milliseconds