HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11584
Class
Elemental function.
Argument
X must be of type real or complex. If X is real, its value must be greater than zero. If X is
complex, its value must not be zero.
Result type/
type parameters
Same as X.
Result value
The result has a value equal to a processor-dependent approximation to log
e
x
. A result of type
complex is the principal value with imaginary part
w
in the range -Pi <
w
<= Pi. The imaginary
part of the result is Pi only when the real part of the argument is less than zero and the
imaginary part of the argument is zero.
Specific forms
ALOG, CDLOG, CLOG, DLOG, QLOG, ZLOG.
LOG10(X)
Description
Common logarithm.
Class
Elemental function.
Argument
X must be of type real. The value of X must be greater than zero.
Result type/
type parameters
Same as X.