lgamma_r


Description:

public double lgamma_r (double x0, out int signgamp)

Returns the natural logarithm of the absolute value of the Gamma function.

Note:

Remember to link the math library: valac -X -lm ...

The sign of the Gamma function is returned in the second parameter.

It is 1 when the Gamma function is positive or zero, -1 when it is negative.

Parameters:

x0

A numeric value.

signgamp

GLib.Math.lgamma_r sets signgamp to 1 when the Gamma function is positive or zero, -1 when it is negative.


Namespace: GLib.Math
Package: glib-2.0