HomeSort by relevance Sort by last modified time
    Searched full:fitsinlong (Results 1 - 2 of 2) sorted by null

  /external/guava/guava-tests/test/com/google/common/math/
LongMathTest.java 90 assertTrue(fitsInLong(BigIntegerMath.binomial(LongMath.BIGGEST_BINOMIALS[k], k)));
92 || !fitsInLong(BigIntegerMath.binomial(LongMath.BIGGEST_BINOMIALS[k] + 1, k)));
97 assertFalse(fitsInLong(BigIntegerMath.binomial(2 * k, k)));
423 boolean expectedSuccess = fitsInLong(expectedResult);
438 boolean expectedSuccess = fitsInLong(expectedResult);
453 boolean expectedSuccess = fitsInLong(expectedResult);
468 boolean expectedSuccess = fitsInLong(expectedResult);
483 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE;
502 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE;
530 private boolean fitsInLong(BigInteger big)
    [all...]
  /external/guava/guava/src/com/google/common/math/
BigIntegerMath.java 128 if (fitsInLong(x)) {
184 if (fitsInLong(x)) {
387 static boolean fitsInLong(BigInteger x) {

Completed in 168 milliseconds