BigInteger.LeftShift 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.4
C#
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

BigInteger
A BigInteger which represents value shifted to the left by shift bits.

See Also