Searched refs:testBit (Results 1 – 6 of 6) sorted by relevance
762 assertTrue("and", (i1.testBit(i) && i2.testBit(i)) == res in test_andLjava_math_BigInteger()763 .testBit(i)); in test_andLjava_math_BigInteger()778 assertTrue("or", (i1.testBit(i) || i2.testBit(i)) == res in test_orLjava_math_BigInteger()779 .testBit(i)); in test_orLjava_math_BigInteger()794 assertTrue("xor", (i1.testBit(i) ^ i2.testBit(i)) == res in test_xorLjava_math_BigInteger()795 .testBit(i)); in test_xorLjava_math_BigInteger()809 assertTrue("not", !i1.testBit(i) == res.testBit(i)); in test_not()823 assertTrue("andNot", (i1.testBit(i) && !i2.testBit(i)) == res in test_andNotLjava_math_BigInteger()824 .testBit(i)); in test_andNotLjava_math_BigInteger()832 (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()
536 public boolean testBit(int n) { in testBit() method in BigInteger584 if (!testBit(n)) { in setBit()604 if (testBit(n)) { in clearBit()
1090 compRem = roundingBehavior(quotient.testBit(0) ? 1 : 0, in divideBigIntegers()1096 compRem = roundingBehavior(quotient.testBit(0) ? 1 : 0, in divideBigIntegers()1306 while (!integerQuot.testBit(0)) { in divide()1367 while (!integralValue.testBit(0)) { in divideToIntegralValue()1472 while (!strippedBI.testBit(0)) { in divideToIntegralValue()2037 while (!strippedBI.testBit(0)) { in stripTrailingZeros()2684 compRem = roundingBehavior( integerAndFraction[0].testBit(0) ? 1 : 0, in inplaceRound()
91 static boolean testBit(BigInteger val, int n) { in testBit() method in BitLevel