To return the natural logarithm of x.
LOG(x)
x must be a number greater than zero.
LOG(x) is calculated in single precision, unless the /d switch is used when GW-BASIC is executed.
PRINT LOG(2) .6931471
PRINT LOG(1) 0