gamma man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

lgamma(3)							     lgamma(3)

NAME
       lgamma, gamma - Compute the logarithm of the gamma function

SYNOPSIS
       #include <math.h>

       double lgamma(
	       double x ); float lgammaf(
	       float x ); long double lgammal(
	       long double x );

LIBRARY
       Math Library (libm)

STANDARDS
       Interfaces  documented on this reference page conform to industry stan‐
       dards as follows:

       lgamma():  XPG4

       gamma():	 XPG4

       Refer to the standards(5) reference page	 for  more  information	 about
       industry standards and associated tags.

DESCRIPTION
       The  lgamma(),  lgammaf(), and lgammal() functions return the logarithm
       of the absolute value of gamma of x, or	ln(|G(x)|),  where  G  is  the
       gamma  function.	 The  sign  of	gamma of x is returned in the external
       integer variable signgam. The x parameter cannot be  0  or  a  negative
       integer.

       The  gamma() function returns the natural log of the gamma function and
       so is functionally equivalent to lgamma().  Because of this, gamma() is
       marked  TO  BE  WITHDRAWN  in  the X/Open Portability Guide, Revision 4
       (XPG4).

       The following table describes function behavior in response  to	excep‐
       tional arguments:

       ────────────────────────────────────────────────────────────────────────────
       Function				Exceptional Argument	  Routine Behavior
       ────────────────────────────────────────────────────────────────────────────
       lgamma(), lgammaf(), lgamma()	|x| = infinity		  Invalid argument
       lgamma(), lgammaf(), lgamma()	x = 0, -1, -2, -3,...	  Invalid argument
       lgamma(), lgammaf(), lgamma()	x > lgamma_max_float	  Overflow
       ────────────────────────────────────────────────────────────────────────────

       The following table lists boundary values used by these functions:

       ──────────────────────────────────────────────────────────────────────────
       Value Name	  Data Type   Hexadecimal Value	  Decimal Value
       ──────────────────────────────────────────────────────────────────────────
       lgamma_max_float	  S_FLOAT     7BC650F9		  2.0594342e36
			  T_FLOAT     7F475ABDC501F55F	  1.2812545499066958e305
       ──────────────────────────────────────────────────────────────────────────

								     lgamma(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

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