Returns the 10-based logarithm of a value a, i.e. 10log(a).
Syntax
LOG(Value)
LOG(Value)
Input
Value | is a value |
Domain type: | any Value domain |
Value range: | >0 |
Output
LOG or LOG10 returns: | a real value |
Domain: | system domain Value |
Notes:
Tip:
When the definition symbol = is used, a dependent output map or dependent output column is created; when the assignment symbol := is used, the dependency link is immediately broken after the output map/column has been calculated.
Usable in
MapCalc, TabCalc, Simple calculators
Examples
Pocket line calculator examples:
? LOG(10) |
returns 1 |
? LOG10(1000) |
returns 3 |
? LOG(POW(10,5)) | returns 5 |
MapCalc example:
OutMap = LOG(InMap)
InMap |
OutMap |
||||||||||||||||||
|
|
TabCalc example:
OutCol1 = LOG(InColA)
OutCol2 = LOG(InColA)/LOG(InColB)
InColA |
InColB |
OutCol1 |
OutCol2 |
1000 |
10 |
3 |
3 |
10 |
10 |
1 |
1 |
0.01 |
10 |
-2 |
-2 |
1 |
10 |
0 |
1 |
0 |
10 |
? |
? |
? |
10 |
? |
? |
-4 |
10 |
? |
? |
16 |
2 |
1.2041 |
4 |
32 |
4 |
1.5051 |
2.5 |
See also: