BigInteger.testBit
Class Overview | Class Members |
This Package |
All Packages
public boolean testBit( int n ) throws ArithmeticException
Description
Returns true iff the designated bit is set. (Computes
((this & (1 << n)) != 0).) Throws an ArithmeticException if n < 0.