LOG(3F)LOG(3F)NAME
log, alog, dlog, qlog, clog, zlog - FORTRAN natural logarithm intrinsic
function
SYNOPSIS
real r1, r2
double precision dp1, dp2
real*16 qp1, qp2
complex cx1, cx2
complex*16 cd1, cd2
r2 = alog(r1)
r2 = log(r1)
dp2 = dlog(dp1)
dp2 = log(dp1)
qp2 = qlog(qp1)
qp2 = log(qp1)
cx2 = clog(cx1)
cx2 = log(cx1)
cd2 = zlog(cd1)
cd2 = log(cd1)DESCRIPTIONalog returns the real natural logarithm of its real argument. dlog
returns the double-precision natural logarithm of its double-precision
argument. qlog returns the real*16 natural logarithm of its real*16
argument. The argument of alog, dlog, and qlog must be greater than
zero. clog returns the complex logarithm of its complex argument. The
argument of clog must not be (0.,0.). The range of the imaginary part of
clog is: -pi < imaginary part <= pi. zlog returns the complex*16
logarithm of its complex*16 argument. The generic function log becomes a
call to alog, dlog, qlog, clog, or zlog depending on the type of its
argument.
SEE ALSOexp(3M).
Page 1