MathF.BitDecrement(Single) 方法

定義

傳回小於指定值的最大值。

public:
 static float BitDecrement(float x);
public static float BitDecrement (float x);
static member BitDecrement : single -> single
Public Shared Function BitDecrement (x As Single) As Single

參數

x
Single

要遞減的值。

傳回

比較小於 x 的最大值。

-或-

NegativeInfinity 如果 x 等於 NegativeInfinity

-或-

NaN 如果 x 等於 NaN

適用於