log10(x)
computes the base 10 logarithm of x
.
FORTRAN 77 and later
result = log10(x)
x
- The type shall be real
.The return value is of type 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