[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Return 10-Based logarithm.
Source position: math.pp line 305
function log10( |
x: float |
):float; |
Log10 returns the 10-base logarithm of X.
If x is less than or equal to 0 an 'invalid fpu operation' error will occur.
|
Return (2 to the power p) times x |
|
|
Return natural logarithm of 1+X |
|
|
Return 2-based logarithm |
|
|
Return N-based logarithm. |
Program Example21; { Program to demonstrate the log10 function. } Uses math; begin Writeln(Log10(10):8:4); Writeln(Log10(100):8:4); Writeln(Log10(1000):8:4); Writeln(Log10(1):8:4); Writeln(Log10(0.1):8:4); Writeln(Log10(0.01):8:4); Writeln(Log10(0.001):8:4); end.
lazarus-ccr.sourceforge.net |