9.175. LOG

9.175 LOG — Natural logarithm function

Description:

LOG(X) computes the natural logarithm of X, i.e. the logarithm to the base e.

Standard:

Fortran 77 and later

Class:

Elemental function

Syntax:

RESULT = LOG(X)

Arguments:
X The type shall be REAL or COMPLEX.
Return value:

The return value is of type REAL or COMPLEX. The kind type parameter is the same as X. If X is COMPLEX, the imaginary part \omega is in the range -\pi < \omega \leq \pi.

Example:
登录查看完整内容