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
orCOMPLEX
. - Return value:
-
The return value is of type
REAL
orCOMPLEX
. The kind type parameter is the same as X. If X isCOMPLEX
, the imaginary part \omega is in the range -\pi < \omega \leq \pi. - Example:
-
登录查看完整内容