BigInteger: FlipBit

FlipBit

Flips the specified bit, toggling between True and False.



 Public Function FlipBit(
	  ByVal Bit As Long ) As BigInteger

Parameters

Bit
[ByVal] Long. The bit to toggle.

Return Values

BigInteger -  A new BigInteger with the specified bit flipped.

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 flipped.

See Also

Project CorLib Overview

Class BigInteger Overview