Atom

math.exp()

Computes e raised to x.

Signature

math.exp(x)

Parameters

One number.

Returns

f64.

Behavior

May overflow to infinity or underflow toward zero.

Errors

Requires a number.

Example

Atom
use math
assert(math.exp(0) == 1)