BigInteger: SetBit

SetBit

Sets the specified bit of the BigInteger instance to 1.



 Public Function SetBit(
	  ByVal Bit As Long ) As BigInteger

Parameters

Bit
[ByVal] Long. The bit to be set to 1.

Return Values

BigInteger -  A new BigInteger value with the bit set to 1.

Remarks

If the bit specified is larger than the current instance of the BigInteger value, then the new value will be extended to include the bit being set.

See Also

Project CorLib Overview

Class BigInteger Overview