Next: LOGICAL, Previous: LOG, Up: Intrinsic Procedures
LOG10
— Base 10 logarithm functionLOG10(X)
computes the base 10 logarithm of X.
RESULT = LOG10(X)
X | The type shall be REAL .
|
REAL
or COMPLEX
.
The kind type parameter is the same as X.
program test_log10 real(8) :: x = 10.0_8 x = log10(x) end program test_log10
Name | Argument | Return type | Standard
|
ALOG10(X) | REAL(4) X | REAL(4) | Fortran 95 and later
|
DLOG10(X) | REAL(8) X | REAL(8) | Fortran 95 and later
|