Multiplies a
BigFloat value by a power of two.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static BigFloat ScaleByPowerOfTwo(
BigFloat value,
int exponent
)
Public Shared Function ScaleByPowerOfTwo (
value As BigFloat,
exponent As Integer
) As BigFloat
public:
static BigFloat^ ScaleByPowerOfTwo(
BigFloat^ value,
int exponent
)
static member ScaleByPowerOfTwo :
value : BigFloat *
exponent : int -> BigFloat
Parameters
- value
- Type: Extreme.MathematicsBigFloat
The number to multiply. - exponent
- Type: SystemInt32
The exponent of the power of two.
Return Value
Type:
BigFloatThe number
value multiplied by a factor of 2 to the power
exponent.
The return value inherits the relative precision from value.
Reference