
<< Index >> 
FutureBasic 5 
log  function  

naturalLog# = log(expr)
expr
. The natural logarithm uses the transcendental number "e" as its base. log
always returns a doubleprecision result.log
is the inverse of the exp
function. That is: log(exp(x))
equals x
.expr
for an arbitrary base n
, use this formula:theLog# = log(expr)/log(n)