Edit

Share via


Single.Exp2M1(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.

Computes 2 raised to a given power and subtracts one.

C#
public static float Exp2M1(float x);

Parameters

x
Single

The power to which 2 is raised.

Returns

2x - 1

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10