BigRational.ScaleByPowerOfTwo Method

Multiplies a BigRational value by a power of two.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static BigRational ScaleByPowerOfTwo(
	BigRational value,
	int exponent
)

Parameters

value  BigRational
The number to multiply.
exponent  Int32
The exponent of the power of two.

Return Value

BigRational
The number value multiplied by a factor of 2 to the power exponent.

See Also