Math.BitDecrement(Double) 方法

定义

返回比较小于指定值的最大值。

C#
public static double BitDecrement(double x);

参数

x
Double

要递减的值。

返回

比较小于 x的最大值。

- 或 -

如果 x 等于 NegativeInfinity,则为 NegativeInfinity

- 或 -

如果 x 等于 NaN,则为 NaN

适用于

产品 版本
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10