Searched refs:fitsInInt (Results 1 – 14 of 14) sorted by relevance
33 public abstract boolean fitsInInt(); in fitsInInt() method in CstLiteralBits60 if (! fitsInInt()) { in fitsIn16Bits()75 if (! fitsInInt()) { in fitsIn8Bits()
84 public boolean fitsInInt() { in fitsInInt() method in CstKnownNull
72 public final boolean fitsInInt() { in fitsInInt() method in CstLiteral32
72 public final boolean fitsInInt() { in fitsInInt() method in CstLiteral64
49 if (LongMath.fitsInInt((long) x - y)) { in testLessThanBranchFree()239 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedAdd()254 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedSubtract()269 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedMultiply()284 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedPow()299 int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE; in testFactorial()349 private static boolean fitsInInt(BigInteger big) { in fitsInInt() method in IntMathTest
83 assertTrue(fitsInInt(BigIntegerMath.binomial(IntMath.biggestBinomials[k], k))); in testConstantsBiggestBinomials()85 || !fitsInInt(BigIntegerMath.binomial(IntMath.biggestBinomials[k] + 1, k))); in testConstantsBiggestBinomials()90 fitsInInt(BigIntegerMath.binomial( in testConstantsBiggestBinomials()102 if (LongMath.fitsInInt((long) x - y)) { in testLessThanBranchFree()406 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedAdd()421 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedSubtract()436 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedMultiply()451 boolean expectedSuccess = fitsInInt(expectedResult); in testCheckedPow()466 int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE; in testFactorial()486 int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE; in testBinomial()[all …]
84 return ((CstLiteralBits) cst).fitsInInt(); in isCompatible()
86 return cb.fitsInInt() && signedFitsInShort(cb.getIntBits()); in isCompatible()
87 return cb.fitsInInt() && signedFitsInNibble(cb.getIntBits()); in isCompatible()
92 return cb.fitsInInt() && signedFitsInShort(cb.getIntBits()); in isCompatible()
88 return cb.fitsInInt() && signedFitsInByte(cb.getIntBits()); in isCompatible()
88 return cb.fitsInInt() && signedFitsInShort(cb.getIntBits()); in isCompatible()
277 if (fitsInInt(x)) { in sqrt()743 static boolean fitsInInt(long x) {
298 static boolean fitsInInt(long x) { in fitsInInt() method in LongMath