BigInteger.clearBit

Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit cleared. (Computes {@code (this & ~(1<<n))}.)

@param n index of bit to clear. @return {@code this & ~(1<<n)} @throws ArithmeticException {@code n} is negative.

class BigInteger
clearBit
(
int n
)

Meta