StrictMath.Exp(Double) Method

Definition

Returns Euler's number e raised to the power of a double value.

[Android.Runtime.Register("exp", "(D)D", "")]
public static double Exp (double a);
[<Android.Runtime.Register("exp", "(D)D", "")>]
static member Exp : double -> double

Parameters

a
Double

the exponent to raise e to.

Returns

the value e<sup>a</sup>, where e is the base of the natural logarithms.

Attributes

Remarks

Returns Euler's number e raised to the power of a double value. Special cases: <ul><li>If the argument is NaN, the result is NaN. <li>If the argument is positive infinity, then the result is positive infinity. <li>If the argument is negative infinity, then the result is positive zero. <li>If the argument is zero, then the result is 1.0. </ul>

Java documentation for java.lang.StrictMath.exp(double).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to