IRingOperations<T>.ScaleByPowerOfTwo 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#
T ScaleByPowerOfTwo(
	T value,
	int exponent
)

Parameters

value  T
A number.
exponent  Int32
The power of two.

Return Value

T
The product of value and 2 to the power exponent.

See Also