Single.ScaleB(Single, Int32) Method

Definition

Computes the product of a value and its base-radix raised to the specified power.

public:
 static float ScaleB(float x, int n) = System::Numerics::IFloatingPointIeee754<float>::ScaleB;
public static float ScaleB (float x, int n);
static member ScaleB : single * int -> single
Public Shared Function ScaleB (x As Single, n As Integer) As Single

Parameters

x
Single

The value which base-radix raised to the power of n multiplies.

n
Int32

The value to which base-radix is raised before multipliying x.

Returns

The product of x and base-radix raised to the power of n.

Implements

Applies to