public BigInteger flipBit (int n)

Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit flipped. (Computes (this ^ (1<<n)).)

Parameters:
n    index of bit to flip.

Returns:  this ^ (1<<n)

Exceptions:
ArithmeticException    n is negative.