NAME
-
log - natural logarithm function
SYNOPSIS
-
v =
log(NumExpr)
DESCRIPTION
-
Log
returns the natural logarithm of its argument;
i.e., the power to which e must be raised in order to obtain NumExpr,
where e is the transcendental number whose value is approximately 2.71828.
NumExpr may be any numeric expression whose value is greater than zero.
EXAMPLE
-
The program
print log(34/9)
produces
1.329135919230697
SEE ALSO
-
exp
DIAGNOSTICS
-
If the value of NumExpr is zero or negative,
an "Illegal function call" error occurs.
from
The Basmark QuickBASIC Programmer’s Manual
by
Lawrence Leinweber