Mono Class Library: System.Math Overview | Members

System.Math.Exp Method

Returns e raised to the specified double that represents an exponent. [Edit]

public static double Exp (double d)

Parameters

d
A double that represents an exponent. [Edit]

Returns

A double equal to the number e raised to the power of d. If d equals double.NaN or double.PositiveInfinity, returns that value. If d equals double.NegativeInfinity, returns 0. [Edit]

Remarks

Note:

Use the Math.Pow(double, double) method to calculate powers of other bases.

Math.Exp(double) is the inverse of Math.Log(double) .

[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0