語言

Half.ScaleB(Half, Int32) 方法

定義

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

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

參數

x
Half

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

n
Int32

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

傳回

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

實作

適用於