Math.Exp Method (Double)

 

Returns e raised to the specified power.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

static member Exp : 
        d:float -> float

Parameters

d
Type: System.Double

A number specifying a power.

Return Value

Type: System.Double

The number e raised to the power d. If d equals NaN or PositiveInfinity, that value is returned. If d equals NegativeInfinity, 0 is returned.

e is a mathematical constant whose value is approximately 2.71828.

Use the Pow method to calculate powers of other bases.

Exp is the inverse of Log.

The following example uses Exp to evaluate certain exponential and logarithmic identities for selected values.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: