nushell/crates/nu-command
Lukáš Veškrna 6be5631477
Add math exp command (issue #8661) (#8700)
# Description
I copied the `math ln` command and replaced the relevant parts to
implement `math exp`.

# User-Facing Changes

The `math exp` command was added. Now one can do `[1, 2, 3] | math exp`
to get e to the power of these numbers.

# Tests + Formatting
I only wrote example tests, same as for `math ln`, which also does not
have special tests. I have ran into an issue with the tests but it seems
completely unrelated (see #8687)

# After Submitting

This PR was done in order to make the documentation complete, so I'm not
adding any documentation except `math ln`.
2023-04-01 12:53:58 +02:00
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
src Add math exp command (issue #8661) (#8700) 2023-04-01 12:53:58 +02:00
tests Make optional cell paths work with reject (#8697) 2023-03-31 16:40:19 -07:00
Cargo.toml Remove proptests for nuon writing/parsing (#8688) 2023-03-31 17:15:16 +02:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00