Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lgammaw(3m) [hpux man page]

lgamma(3M)																lgamma(3M)

NAME
lgamma(), lgammaf(), lgammal(), lgammaw(), lgammaq(), lgamma_r(), lgammaf_r(), lgammal_r(), lgammaw_r(), lgammaq_r(), gamma(), gammaf(), gammal(), gammaw(), gammaq(), gamma_r(), gammaf_r(), gammal_r(), gammaw_r(), gammaq_r(), signgam - log gamma functions SYNOPSIS
HP Integrity Server Only DESCRIPTION
and return , 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 The function, available on Integrity servers, can be used to calculate Or, the following C program fragment can be used to calculate where if y is greater than as defined in the header file, returns a range error. (See exp(3M).) The log gamma function is not reentrant because it uses the global variable The function is a reentrant version of that can be used in multi-threaded applications. The function stores the sign of in the object pointed to by the second argument sign. The value pointed to by sign is +1 if is positive, -1 if it is negative. The and functions are functionally equivalent to and and are versions of and respectively; they take a (first) argument and return a result. and are versions of and respectively; they take a (first) argument and return a result. and are versions of and respectively; they take an (first) argument and return an result. and are equivalent to and respectively on HP-UX systems. USAGE
To use these functions, compile either with the default option or with the and options. To use (for Integrity servers) or compile also with the option. Make sure your program includes and link in the math library by specifying on the compiler or linker command line. For more information, see the at the following site: RETURN VALUE
returns +0. returns +0. returns +Inf and raises the divide-by- zero floating-point exception for x a negative integer or zero. returns +Inf. returns +Inf. If x is NaN, and return NaN. returns infinity (equal to in lieu of a value whose magnitude is too large, and raises the overflow and inexact exceptions. When it raises no other exception, whether raises the inexact exception is unspecified. WARNINGS
and are unsafe in multi-thread applications. is MT-Safe and should be used instead. SEE ALSO
exp(3M), log(3M), tgamma(3M), math(5). STANDARDS CONFORMANCE
: SVID3, XPG4.2, ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithmetic") : SVID3, XPG4.2 : ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithmetic") lgamma(3M)

Check Out this Related Man Page

lgamma(3M)																lgamma(3M)

NAME
lgamma(), lgammaf(), lgammal(), lgammaw(), lgammaq(), lgamma_r(), lgammaf_r(), lgammal_r(), lgammaw_r(), lgammaq_r(), gamma(), gammaf(), gammal(), gammaw(), gammaq(), gamma_r(), gammaf_r(), gammal_r(), gammaw_r(), gammaq_r(), signgam - log gamma functions SYNOPSIS
HP Integrity Server Only DESCRIPTION
and return , 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 The function, available on Integrity servers, can be used to calculate Or, the following C program fragment can be used to calculate where if y is greater than as defined in the header file, returns a range error. (See exp(3M).) The log gamma function is not reentrant because it uses the global variable The function is a reentrant version of that can be used in multi-threaded applications. The function stores the sign of in the object pointed to by the second argument sign. The value pointed to by sign is +1 if is positive, -1 if it is negative. The and functions are functionally equivalent to and and are versions of and respectively; they take a (first) argument and return a result. and are versions of and respectively; they take a (first) argument and return a result. and are versions of and respectively; they take an (first) argument and return an result. and are equivalent to and respectively on HP-UX systems. USAGE
To use these functions, compile either with the default option or with the and options. To use (for Integrity servers) or compile also with the option. Make sure your program includes and link in the math library by specifying on the compiler or linker command line. For more information, see the at the following site: RETURN VALUE
returns +0. returns +0. returns +Inf and raises the divide-by- zero floating-point exception for x a negative integer or zero. returns +Inf. returns +Inf. If x is NaN, and return NaN. returns infinity (equal to in lieu of a value whose magnitude is too large, and raises the overflow and inexact exceptions. When it raises no other exception, whether raises the inexact exception is unspecified. WARNINGS
and are unsafe in multi-thread applications. is MT-Safe and should be used instead. SEE ALSO
exp(3M), log(3M), tgamma(3M), math(5). STANDARDS CONFORMANCE
: SVID3, XPG4.2, ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithmetic") : SVID3, XPG4.2 : ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithmetic") lgamma(3M)
Man Page