LOG10 — Base 10 logarithm function#
-
LOG10(X)#
LOG10(X)computes the base 10 logarithm ofX.- Parameters:
X – The type shall be
REAL.- Returns:
The return value is of type
REALorCOMPLEX. The kind type parameter is the same asX.
- Standard:
Fortran 77 and later
- Class:
Elemental function
- Syntax:
RESULT = LOG10(X)
- Example:
program test_log10 real(8) :: x = 10.0_8 x = log10(x) end program test_log10
- Specific names:
Name
Argument
Return type
Standard
ALOG10(X)REAL(4) XREAL(4)Fortran 77 and later
DLOG10(X)REAL(8) XREAL(8)Fortran 77 and later