function
exp

double exp(
num x
)

Converts x to a double and returns the natural exponent, E, to the power x.

Returns NaN if x is NaN.