Edit

Share via


Single.Exp2(Single) Method

Definition

Computes 2 raised to a given power.

public:
 static float Exp2(float x) = System::Numerics::IExponentialFunctions<float>::Exp2;
public static float Exp2 (float x);
static member Exp2 : single -> single
Public Shared Function Exp2 (x As Single) As Single

Parameters

x
Single

The power to which 2 is raised.

Returns

2x

Implements

Applies to