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.

Source

/**
 * Converts [x] to a double and returns the natural exponent, [E],
 * to the power [x].
 * Returns NaN if [x] is NaN.
 */
external double exp(num x);