content/flux/v0/stdlib/math/log.md
math.log() returns the natural logarithm of x.
(x: float) => float
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) Value to operate on.
import "math"
math.log(x: 3.14)// 1.144222799920162
import "sampledata"
import "math"
sampledata.float()
|> map(fn: (r) => ({r with _value: math.log(x: r._value)}))