math exp

For math.

Returns e raised to the power of x.

Command Type

built-in

Signature

> math exp {flags}

Input/output types:

input output
number float
list<number> list<float>

Examples

Get e raised to the power of zero

> 0 | math exp
1.0

Get e (same as ‘math e’)

> 1 | math exp
2.718281828459045

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.