IRing Operations<T>.Scale By Power Of Two Method
Scales the specified number by the specified power of two.
Definition
Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The product of value and 2 to the power exponent.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
T ScaleByPowerOfTwo(
T value,
int exponent
)
Parameters
Return Value
TThe product of value and 2 to the power exponent.