Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
EXP, LOG Functions
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
EXP returns e raised to a specified power, where e is the base of natural
logarithms. LOG returns the natural logarithm of a numeric expression.
EXP(numeric-expression)
LOG(numeric-expression)
■ numeric-expression For EXP, a number less than or equal to 88.02969.
For LOG, any positive numeric expression.
Example:
PRINT EXP(0), EXP(1) 'Output is: 1 2.718282
PRINT LOG(1), LOG(EXP(1)) 'Output is: 0 1