LOG10(X)

Purpose

Common logarithm.

Class

Elemental function

Argument type and attributes

X
An INTENT(IN) REAL. The value of X must be greater than zero.

Result type and attributes

Same as X.

Result value

The result has a value equal to log10X.

Examples

LOG10 (10.0) has the value 1.0.

Specific Name Argument Type Result Type Pass As Arg?
ALOG10 default real default real yes
DLOG10 double precision real double precision real yes
QLOG10 REAL(16) REAL(16) yes  1 
Note:
  •  1  IBM extension: the ability to pass the name as an argument.