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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerOperateBitsTest.java29 * clearBit, flipBit, setBit, testBit
431 * flipBit(int n) of a negative n
439 aNumber.flipBit(number);
446 * flipBit(int n) zero
454 BigInteger result = aNumber.flipBit(number);
464 * flipBit(int n) outside zero
472 BigInteger result = aNumber.flipBit(number);
482 * flipBit(int n) outside zero
490 BigInteger result = aNumber.flipBit(number);
500 * flipBit(in
[all...]
/libcore/luni/src/main/java/java/math/
H A DBigInteger.java585 return BitLevel.flipBit(this, n);
605 return BitLevel.flipBit(this, n);
622 public BigInteger flipBit(int n) { method in class:BigInteger
627 return BitLevel.flipBit(this, n);
H A DBitLevel.java210 * Performs a flipBit on the BigInteger, returning a BigInteger with the the
213 static BigInteger flipBit(BigInteger val, int n){ method in class:BitLevel

Completed in 77 milliseconds