lgamma man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

lgamma(3M)							    lgamma(3M)

NAME
       lgamma(), 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 - 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 speci‐
       fying 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 arith‐
       metic")

								    lgamma(3M)
[top]

List of man pages available for HP-UX

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]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net