W3cubDocs

/Nushell

math exp for math

Returns e raised to the power of x.

Signature

> math exp {flags}

Input/output types:

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

Examples

Get e raised to the power of zero

>0|math exp
1

Get e (same as 'math e')

>1|math exp
2.718281828459045

Tips: Command math exp was not included in the official binaries by default, you have to build it with --features=extra flag

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_exp.html