lgamma(3M) lgamma(3M)[top]NAMElgamma(), lgammaf(), lgammal(), lgammaw(), lgammaq(), lgamma_r(), lgam‐ maf_r(), lgammal_r(), lgammaw_r(), lgammaq_r(), gamma(), gammaf(), gam‐ mal(), gammaw(), gammaq(), gamma_r(), gammaf_r(), gammal_r(), gam‐ maw_r(), gammaq_r(), signgam - loggammafunctionsSYNOPSISHP Integrity Server OnlyDESCRIPTIONand 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 loggammafunction 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,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.-1USAGETo 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 speci‐ fying on the compiler or linker command line. For more information, see the at the following site:RETURN VALUEreturns +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.WARNINGSand are unsafe in multi-thread applications. is MT-Safe and should be used instead.SEE ALSOexp(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 arith‐ metic") lgamma(3M)

List of man pages available for

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]

Polar

Member of Polar

Based on Fawad Halim's script.

....................................................................

Vote for polarhome |