LOG_GAMMA(3f)

DESCRIPTION
LOG_GAMMA(X) computes the natural logarithm of the absolute value of the Gamma (Gamma) function.

STANDARD
Fortran 2008 and later

CLASS
Elemental function

SYNTAX
X = LOG_GAMMA(X)

ARGUMENTS

X Shall be of type REAL and neither zero nor a negative integer.

RETURN VALUE
The return value is of type REAL of the same kind as X.

EXAMPLE
          program test_log_gamma
            real :: x = 1.0
            x = lgamma(x) ! returns 0.0
          end program test_log_gamma

SPECIFIC NAMES

Name Argument Return type Standard LGAMMA(X) REAL(4) X REAL(4) GNU Extension ALGAMA(X) REAL(4) X REAL(4) GNU Extension DLGAMA(X) REAL(8) X REAL(8) GNU Extension

SEE ALSO
Gamma function: GAMMA

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).