BigIntegerStatic: ShiftRight

ShiftRight

Performs a bit shifting operation to the the right.



 Public Function ShiftRight(
	  ByVal Value As BigInteger,
	  ByVal BitCount As Long ) As BigInteger

Parameters

Value
[ByVal] BigInteger. The BigInteger to shift right.
BitCount
[ByVal] Long. The number of bits the BigInteger value is to be shifted.

Return Values

BigInteger -  Returns a new BigInteger instance containing the bit shifted value.

Remarks

If BitCount is negative, then a left shift is performed.

Values of Nothing will be treated as zero.

See Also

Project CorLib Overview

Class BigIntegerStatic Overview