Edit

Share via


Double.Exp2(Double) Method

Definition

Computes 2 raised to a given power.

C#
public static double Exp2(double x);

Parameters

x
Double

The power to which 2 is raised.

Returns

2x

Implements

Applies to

Product Versions
.NET 7, 8, 9