BigInteger.setBit

BigInteger.setBit

Class Overview | Class Members | This Package | All Packages

Syntax
public BigInteger setBit( int n ) throws ArithmeticException
Description
Returns a BigInteger whose value is equivalent to this number with the designated bit set. (Computes (this | (1 << n)).) Throws an ArithmeticException if n < 0.