Edit

Share via


MathF.BitDecrement(Single) Method

Definition

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

C#
public static float BitDecrement(float x);

Parameters

x
Single

The value to decrement.

Returns

The largest value that compares less than x.

-or-

NegativeInfinity if x is 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