math log
for math
Returns the logarithm for an arbitrary base.
Signature
> math log (base)
Parameters
base
: Base for which the logarithm should be computed
Examples
Get the logarithm of 100 to the base 10
> 100 | math log 10
2
Get the log2 of a list of values
> [16 8 4] | math log 2
╭───┬────────╮
│ 0 │ 4.0000 │
│ 1 │ 3.0000 │
│ 2 │ 2.0000 │
╰───┴────────╯