Edit

Share via


Math.BitIncrement(Double) Method

Definition

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

C#
public static double BitIncrement(double x);

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

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10