MathF.BitIncrement(Single) 方法

定义

返回大于 x 的下一个最大值。Returns the next largest value that is greater than x.

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

参数

x
Single

要递增的值。The value to increment.

返回

大于 x 的下一个最大值。The next largest value that is greater than x.

-or- 如果 x 等于 PositiveInfinity,则为 PositiveInfinityPositiveInfinity if x equals PositiveInfinity.

-or- 如果 x 等于 NaN,则为 NaNNaN if x is equals NaN.

适用于