BigFloat.ScaleByPowerOfTwo Method

Multiplies a BigFloat value by a power of two.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static BigFloat ScaleByPowerOfTwo(
	BigFloat value,
	int exponent
)

Parameters

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

Return Value

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

Remarks

The return value inherits the relative precision from value.

Exceptions

ArgumentNullExceptionvalue is null.

See Also