Big Integer.Left Shift Method
Shifts the bits to the left, padding the right with zeros.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A BigInteger which represents value shifted to the left by shift bits.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static BigInteger LeftShift(
BigInteger value,
int shift
)
Parameters
- value BigInteger
- The number to shift.
- shift Int32
- The number of bits to shift the number to the left.
Return Value
BigIntegerA BigInteger which represents value shifted to the left by shift bits.