lgammad64(3M) lgammad64(3M)
NAME
lgammad64(), lgammad128(), lgammad32() - decimal log gamma functions
SYNOPSIS
DESCRIPTION
returns , where is defined as the integral, as t goes from zero to infinity, of times t to the power (x-1).
The sign of is returned in the external integer
is not reentrant because it uses the global variable
The function can be used to calculate
is a version of it takes a argument and returns a result.
is a version of it takes a argument and returns a result.
These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward.
USAGE
To use any of these functions, compile with the option.
Make sure your program defines and then includes
Link in the math library by specifying or on the linking command line.
For more information, see the at the following site:
RETURN VALUE
returns +0.
returns +0.
returns +infinity and raises the divide-by-zero floating-point exception for x a negative integer or zero.
If x returns +infinity.
If x is NaN, returns NaN.
returns +infinity (or, in some non-default rounding direction modes, the maximum finite number) in lieu of a value whose magnitude is too
large, and raises the overflow and inexact exceptions.
raises the inexact exception whenever a rounded result does not equal the mathematical result.
ERRORS
If x is a negative integer or zero, sets to
If the correct value would overflow, sets to
SEE ALSO
expd64(3M), logd64(3M), tgammad64(3M), math(5).
STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic".
HP Integrity Server Only lgammad64(3M)