log10(3f) - [FORTRAN:INTRINSIC:MATHEMATICS] Base 10 logarithm function
result = LOG10(x)
LOG10(X) computes the base 10 logarithm of 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.
Sample program:
program demo_log10 use, intrinsic :: iso_fortran_env, only : real_kinds, & & real32, real64, real128 implicit none real(kind=real64) :: x = 10.0_real64 x = log10(x) end program demo_log10
[[FORTRAN 77]] and later
[[Elemental procedure|Elemental function]]
log10 (3) | March 11, 2021 |