MathF.BitDecrement(Single) Method

Definition

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

public:
 static float BitDecrement(float x);
public static float BitDecrement (float x);
static member BitDecrement : single -> single
Public Shared Function BitDecrement (x As Single) As Single

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