Big Integer.Right Shift(Big Integer, Int 32, Rounding Mode) Method
Shifts the bits to the right with rounding.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A BigInteger which represents value shifted to the right by shift bits.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static BigInteger RightShift(
BigInteger value,
int shift,
RoundingMode roundingMode
)
Parameters
- value BigInteger
- The number to shift.
- shift Int32
- The number of bits to shift the number to the right.
- roundingMode RoundingMode
- A RoundingMode that specifies how the result should be rounded.
Return Value
BigIntegerA BigInteger which represents value shifted to the right by shift bits.