Edit

Share via


Single.BitIncrement(Single) 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.

Increments a value to the smallest value that compares greater than a given value.

C#
public static float BitIncrement(float x);

Parameters

x
Single

The value to be bitwise incremented.

Returns

The smallest value that compares greater than x.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10