Berserk Docs
Scalar FunctionsMath Functions

loggamma

Natural log of the absolute value of the gamma function, equivalent to lgamma(x) in C99.

Syntax

loggamma(x)

Parameters

Prop

Type

Returns: real

Examples

Example 1

print loggamma(0.5)
print_0 (real)
0.5723649429247001

On this page