V1[]
Indications are, LOG
in SmileBasic V1 is identical to that in V2.
V2[]
LOG(number)
returns the natural logarithm of number
. This is the logarithm base e (about 2.7, commonly used by mathematicians, and sometimes denoted LN), not the logarithm base 10 (commonly used by engineers).
If number
is zero or negative, the system reports Illegal function call (LOG)
.
LOG
is (ideally) the inverse function of EXP
.
V3[]
Indications are, LOG
in SmileBasic V3 is identical to that in V2.