語言

Single.ScaleB(Single, Int32) 方法

定義

計算一個值與其基數乘積至指定冪次方的乘積。

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

參數

x
Single

基數基數提升到的 n 數值會乘以 1 次方。

n
Int32

在乘 x以 之前,基數被提升到的值。

傳回

與基基乘積 x 提升為 的 n冪次方。

實作

適用於