Bug report #5032
`log(100,10)` does not give the same result as `log10(100)`!
|Affected QGIS version:||master
|Pull Request or Patch supplied:||No
|Crashes QGIS or corrupts data:||No
||Copied to github as #:||14807
log(a,10) currently gives 1/log10(a)
Sorry - I neglected to say that this is of course in the new field calculator and expression based labelling.
And you'll see the same effect comparing with ln()
- Resolution set to invalid
- Status changed from Open to Closed
The order of parameters is actually reversed from what you have expected: log(base,x) - that follows order used in other SQL engines (postgresql, mysql).
Of course, thanks.
So unless it has changed since, I made a mistake when I wrote the help for it.
We need this fix.
Also available in: Atom