# LOG_GAMMA

Elemental Intrinsic Function (Generic): Returns the logarithm of the absolute value of the gamma function of the argument.

result = LOG_GAMMA (x)

x | (Input) Must be of type real. It must not be zero or a negative integer.

## Results

The result type and kind are the same as x.

The result has a value equal to a processor-dependent approximation to the natural logarithm of the absolute value of the gamma function of x.

## Example

LOG_GAMMA (3.0) has the approximate value 0.693.

Parent topic: J to L