LOG10(3f) - [FORTRAN:INTRINSIC:MATHEMATICS] Base 10 logarithm function
Syntax
Description
Arguments
Return Value
Example
Standard
Class
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 real(8) :: x = 10.0_8 x = log10(x) end program demo_log10
[[FORTRAN 77]] and later
[[Elemental procedure|Elemental function]]
log10 (3) | March 18, 2019 |