Share via


Exp Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns e raised to the specified power.

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

Syntax

'Declaration
Public Shared Function Exp ( _
    d As Double _
) As Double
public static double Exp(
    double d
)
public:
static double Exp(
    double d
)
static member Exp : 
        d:float -> float 
public static function Exp(
    d : double
) : double

Parameters

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.

Remarks

Use the Pow method to calculate powers of other bases.

Exp is the inverse of Log.

.NET Framework Security

See Also

Reference

Math Class

System Namespace