MathF.BitIncrement(Single) Method

Definition

Returns the smallest value that compares greater than a specified value.

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

Single

The smallest value that compares greater than x.

-or-

PositiveInfinity if x equals PositiveInfinity.

-or-

NaN if x is equals NaN.

Applies to