Searched refs:testBit (Results 1 – 6 of 6) sorted by relevance
763 assertTrue("and", (i1.testBit(i) && i2.testBit(i)) == res in test_andLjava_math_BigInteger()764 .testBit(i)); in test_andLjava_math_BigInteger()779 assertTrue("or", (i1.testBit(i) || i2.testBit(i)) == res in test_orLjava_math_BigInteger()780 .testBit(i)); in test_orLjava_math_BigInteger()795 assertTrue("xor", (i1.testBit(i) ^ i2.testBit(i)) == res in test_xorLjava_math_BigInteger()796 .testBit(i)); in test_xorLjava_math_BigInteger()810 assertTrue("not", !i1.testBit(i) == res.testBit(i)); in test_not()824 assertTrue("andNot", (i1.testBit(i) && !i2.testBit(i)) == res in test_andNotLjava_math_BigInteger()825 .testBit(i)); in test_andNotLjava_math_BigInteger()833 (i1.testBit(i) && !i2.testBit(i)) == res.testBit(i)); in test_andNotLjava_math_BigInteger()
1304 aNumber.testBit(number); in testTestBitException()1318 assertTrue(!aNumber.testBit(number)); in testTestBitPositive1()1329 assertTrue(aNumber.testBit(number)); in testTestBitPositive2()1340 assertTrue(!aNumber.testBit(number)); in testTestBitPositive3()1351 assertTrue(aNumber.testBit(number)); in testTestBitNegative1()1362 assertTrue(!aNumber.testBit(number)); in testTestBitNegative2()1373 assertTrue(aNumber.testBit(number)); in testTestBitNegative3()
92 if (!this.rp.testBit(0) || !this.rp.testBit(m) || in ECFieldF2m()
538 public boolean testBit(int n) { in testBit() method in BigInteger586 if (!testBit(n)) { in setBit()606 if (testBit(n)) { in clearBit()
1099 compRem = roundingBehavior(quotient.testBit(0) ? 1 : 0, in divideBigIntegers()1105 compRem = roundingBehavior(quotient.testBit(0) ? 1 : 0, in divideBigIntegers()1314 while (!integerQuot.testBit(0)) { in divide()1375 while (!integralValue.testBit(0)) { in divideToIntegralValue()1480 while (!strippedBI.testBit(0)) { in divideToIntegralValue()2043 while (!strippedBI.testBit(0)) { in stripTrailingZeros()2690 compRem = roundingBehavior( integerAndFraction[0].testBit(0) ? 1 : 0, in inplaceRound()
91 static boolean testBit(BigInteger val, int n) { in testBit() method in BitLevel