The
ALOG function returns the
natural logarithm of *
X*
. The result has the same structure as *
X*
.

The value for which the natural log is desired. The result of ALOG is double-precision floating if *
X*
is double-precision, and complex if *
X*
is complex. All other types are converted to single-precision floating-point and yield floating-point results. When applied to complex numbers, the definition of the ALOG function is: