Searched refs:fitsInLong (Results 1 – 8 of 8) sorted by relevance
108 assertTrue(fitsInLong(BigIntegerMath.binomial(LongMath.biggestBinomials[k], k))); in testConstantsBiggestBinomials()110 || !fitsInLong(BigIntegerMath.binomial(LongMath.biggestBinomials[k] + 1, k))); in testConstantsBiggestBinomials()115 assertFalse(fitsInLong(BigIntegerMath.binomial(2 * k, k))); in testConstantsBiggestBinomials()144 if (fitsInLong(difference)) { in testLessThanBranchFree()480 boolean expectedSuccess = fitsInLong(expectedResult); in testCheckedAdd()496 boolean expectedSuccess = fitsInLong(expectedResult); in testCheckedSubtract()512 boolean expectedSuccess = fitsInLong(expectedResult); in testCheckedMultiply()528 boolean expectedSuccess = fitsInLong(expectedResult); in testCheckedPow()544 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE; in testFactorial()564 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE; in testBinomial()[all …]
48 if (fitsInLong(difference)) { in testLessThanBranchFree()126 long expectedLong = fitsInLong(expectedBig) ? expectedBig.longValue() : Long.MAX_VALUE; in testBinomial()193 private static boolean fitsInLong(BigInteger big) { in fitsInLong() method in LongMathTest
131 if (fitsInLong(x)) { in log10()209 if (fitsInLong(x)) { in sqrt()449 static boolean fitsInLong(BigInteger x) { in fitsInLong() method in BigIntegerMath
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...