math ln for math

Returns the natural logarithm. Base: (math e).

WARNING

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

Signature

> math ln {flags}

Input/output types:

inputoutput
list<number>list<float>
numberfloat

Examples

Get the natural logarithm of e

> 2.7182818 | math ln | math round --precision 4
1