jsonata provides the $power() function. It would be interesting if it would also provide a [logarithm](https://en.wikipedia.org/wiki/Logarithm) function. This new function could be named $log() and has an optional 2nd parameter representing the base. If the base is not specified then it uses 10 as base.