*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: gamma | Section: 3 | Source: UNIX v10 | File: gamma.3
GAMMA(3M) GAMMA(3M) NAME gamma - log gamma function SYNOPSIS #include <math.h> double gamma(x) double x; extern int signgam; DESCRIPTION Gamma returns ln |<Gamma>(x)|. The sign of <Gamma>(x) is returned in the external integer signgam. EXAMPLES Computation of the gamma function: errno = 0; y = gamma(x); if(errno || (y > 88.0)) error(); y = signgam*exp(y); DIAGNOSTICS A large value is returned for negative integer arguments and errno is set to EDOM. BUGS There should be a positive indication of error. The name should indicate the answer is a logarithm, perhaps lgamma. GAMMA(3M)

Navigation Options