Edit

Share via


Math.BitDecrement(Double) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Returns the largest value that compares less than a specified value.

C#
public static double BitDecrement(double x);

Parameters

x
Double

The value to decrement.

Returns

The largest value that compares less than x.

-or-

NegativeInfinity if x equals NegativeInfinity.

-or-

NaN if x equals NaN.

Applies to

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