BigIntegerStatic: TestBit |
Tests a specific bit in the BigInteger number to determine if it is set (1) or not (0).
Public Function TestBit( ByVal Value As BigInteger, ByVal Bit As Long ) As Boolean
The max value for bit is 2147483647. If the bit value is larger than the BigInteger instance, then the sign of the number is used. This will represent a negative number with infinite sign extension bits.
Values of Nothing will be treated as zero.