Home
last modified time | relevance | path

Searched refs:flipBit (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerOperateBitsTest.java439 aNumber.flipBit(number); in testFlipBitException()
454 BigInteger result = aNumber.flipBit(number); in testFlipBitZero()
472 BigInteger result = aNumber.flipBit(number); in testFlipBitZeroOutside1()
490 BigInteger result = aNumber.flipBit(number); in testFlipBitZeroOutside2()
508 BigInteger result = aNumber.flipBit(number); in testFlipBitLeftmostNegative()
526 BigInteger result = aNumber.flipBit(number); in testFlipBitLeftmostPositive()
544 BigInteger result = aNumber.flipBit(number); in testFlipBitNegativeInside1()
562 BigInteger result = aNumber.flipBit(number); in testFlipBitNegativeInside2()
579 BigInteger result = aNumber.flipBit(number); in testFlipBitNegativeInside3()
593 BigInteger result = aNumber.flipBit(number); in testFlipBitNegativeInside4()
[all …]
/libcore/luni/src/main/java/java/math/
DBigInteger.java587 return BitLevel.flipBit(this, n); in setBit()
607 return BitLevel.flipBit(this, n); in clearBit()
624 @NonNull public BigInteger flipBit(int n) { in flipBit() method in BigInteger
629 return BitLevel.flipBit(this, n); in flipBit()
DBitLevel.java213 static BigInteger flipBit(BigInteger val, int n){ in flipBit() method in BitLevel