Edit

Share via


Math.BitIncrement(Double) Method

Definition

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

public:
 static double BitIncrement(double x);
public static double BitIncrement (double x);
static member BitIncrement : double -> double
Public Shared Function BitIncrement (x As Double) As Double

Parameters

x
Double

The value to increment.

Returns

The smallest value that compares greater than x.

-or-

PositiveInfinity if x equals PositiveInfinity.

-or-

NaN if x equals NaN.

Applies to