Redigera

Dela via


NFloat.ScaleB(NFloat, Int32) Method

Definition

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

public:
 static System::Runtime::InteropServices::NFloat ScaleB(System::Runtime::InteropServices::NFloat x, int n) = System::Numerics::IFloatingPointIeee754<System::Runtime::InteropServices::NFloat>::ScaleB;
public static System.Runtime.InteropServices.NFloat ScaleB (System.Runtime.InteropServices.NFloat x, int n);
static member ScaleB : System.Runtime.InteropServices.NFloat * int -> System.Runtime.InteropServices.NFloat
Public Shared Function ScaleB (x As NFloat, n As Integer) As NFloat

Parameters

x
NFloat

The value that 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