LOG10()
Decadic logarithm of a number
- Syntax
-
- LOG10 (nNumber) -> nLogarithm
- Arguments
-
- <nNumber> number to logarithm
- Returns
-
- <nLogarithm> decadic logarithm of <nNumber>
- Description
-
- The function LOG10() calculates the decadic logarithm of <nNumber>, i.e. 10^<nLogarithm> == <nNumber>.
Examples
? log10 (10.0) --> 1.0
? log10 (sqrt(10.0)) --> 0.5
Tests
log10 (10.0) == 1.0
log10 (sqrt(10.0)) == 0.5
- Status
- Ready
- Compliance
-
- LOG10() is compatible with CT3's LOG10().
- Platforms
-
- All
- Files
-
- Source is math.c, library is libct.