| |
|
| Format |
LOG(num[,ERR=stmtref])
Where:
|
|
num |
Numeric expression whose base ten logarithm is to be returned. |
|
|
|
stmtref |
Program line number or statement label to which to transfer control. |
| |
|
| Returns |
Numeric, base ten logarithm. |
| |
|
| Description |
The LOG( ) function returns the numeric base ten logarithm of a given number, rounded to the current PRECISION setting. This is the inverse of the EXP( ) function. ProvideX returns Error #40: Divide check or numeric overflow if the numeric value is negative. |
| |
|
| Examples |
0010 PRINT EXP(LOG(90)/3) ! Print cube root of 90 |