XL Fortran for AIX 8.1

Language Reference

+-------------------------------IBM Extension--------------------------------+


LGAMMA(X)

Log of gamma function.



lgammax

X
must be of type real.

Class

Elemental function

Result Type and Attributes

Same as X.

Result Value

The result has a value equal to logeGamma(X).

Examples

LGAMMA (1.0) has the value 0.0.

LGAMMA (10.0) has the value 12.80182743 (approximately).


Specific Name Argument Type Result Type Pass As Arg?
LGAMMA default real default real yes
LGAMMA double precision real double precision real yes
ALGAMA (1) default real default real yes
DLGAMA (2) double precision real double precision real yes
QLGAMA (3) REAL(16) REAL(16) yes

X must satisfy the inequality:

  1. 0 < X <= 4.0850E36.

  2. 2.3561D-304 <= X <= 21014.

  3. 2.3561Q-304 <= X <= 21014.

+----------------------------End of IBM Extension----------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]