holgerbrandl
09/29/2017, 8:20 AMlog
at least provide e
as default for the base? Because if so users could keep using log
as natural logarithm. LIke in python https://docs.python.org/2/library/math.html#math.log or R http://astrostatistics.psu.edu/su07/R/html/base/html/Log.htmlgildor
09/29/2017, 8:21 AMholgerbrandl
09/29/2017, 8:22 AMgaetan
09/29/2017, 8:28 AMln
, log10
and log2
implementations directly delegated calls to native implementations which is not the case for log
. 99,9% of use should have the best performance.gildor
09/29/2017, 8:29 AMgaetan
09/29/2017, 8:32 AMln
is not the convention on java and javascript.elizarov
09/29/2017, 8:36 AMelizarov
09/29/2017, 8:37 AMlog(x)
function for a natural logarithm, then it is highly likely that it is going to conflict with logging functions in many real-life projects.elizarov
09/29/2017, 8:38 AMlog
that can only be invoked with two doubles is less prone to this kind of confusion.holgerbrandl
09/29/2017, 8:38 AMgaetan
09/29/2017, 8:43 AMlog(x,x)
should be more explicit, indicating ln
, log10
,log2
.elizarov
09/29/2017, 8:59 AM