LGAMMA Function

Returns the natural logarithm of the Gamma function.

Category: Mathematical
Returned data type: DOUBLE

Syntax

LGAMMA(expression)

Arguments

expression

specifies any valid expression that evaluates to a numeric value.

Requirement Must be a positive number.
Data type DOUBLE
See <sql-expression>
FedSQL Expressions

Example

The following statements illustrate the LGAMMA function:
Statements
Results
select lgamma(2);
0
select lgamma(1.5);
-0.120782238
Last updated: February 23, 2017