Big Rational.Scale By Power Of Two Method
Multiplies a BigRational value by a power of two.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The number value multiplied by a factor of 2 to the power exponent.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
BigRationalThe number value multiplied by a factor of 2 to the power exponent.