语言

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 。

n
Int32

在乘法 x之前将基基基数引发的值。

返回

基基数的乘积 x 和基基数升至幂 n。

实现

适用于