math ln for math
Returns the natural logarithm. Base: (math e).
Signature
> math ln {flags}
Input/output types:
| input | output |
|---|---|
| list<number> | list<float> |
| number | float |
Examples
Get the natural logarithm of e
> 2.7182818 | math ln | math round --precision 4
1
Tips: Command math ln was not
included in the official binaries by default, you have to build
it with --features=extra flag