Math.exp() (Function)

The exponential function of the passed in argument.

Availability:

ECMAScript edition - 2
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Netscape Enterprise Server version - 2.0
Opera - 3.0
Property/method value type:Number primitive
JavaScript syntax:-Math.exp(aValue)
Argument list:aValueA meaningful numeric value

This function returns the exponential function of the argument (e raised to the power of the argument, where e is the base of the natural logarithms).

Special boundary conditions that affect the results are:

ArgumentResult
+infinity+infinity
-infinity0
01
NaNNaN

The exact value yielded by this function may vary slightly from implementation to implementation due to differences in the underlying precision of the implementations math routines and the specific algorithm selected to evaluate this function.

See also:Exponent-log function, Math object, Math.E, Math.LN10, Math.LN2, Math.log(), Math.LOG10E, Math.LOG2E

Cross-references:

ECMA 262 edition 2 - section - 15.8.2.8

ECMA 262 edition 3 - section - 15.8.2.8