MathF.BitIncrement(Single) Method

Definition

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

Parameters

x
Single

The value to increment.

Returns

The next largest value that is greater than x.

-or-

PositiveInfinity if x equals PositiveInfinity.

-or-

NaN if x is equals NaN.

Applies to