DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦9454c8bbd⟧ TextFile

    Length: 651 (0x28b)
    Types: TextFile
    Notes: UNIX file
    Names: »gamma.3m«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man3/gamma.3m« 

TextFile

.ig
	@(#)gamma.3m	2.1	7/1/84
	@(#)Copyright (C) 1983 by National Semiconductor Corp.
..
.TH GAMMA 3M 
.SH NAME
gamma \- log gamma function
.SH SYNOPSIS
.nf
.B #include <math.h>
.PP
.B double gamma(x)
.B double x;
.fi
.SH DESCRIPTION
.I Gamma
returns
ln \||\|\(*G(\||\|\fIx\fR\||\|)\||\|.
The sign of
\(*G(\||\|\fIx\fR\||\|)
is returned in the external integer
.IR signgam .
The following C program might be
used to calculate
\(*G:
.PP
.nf
	y = gamma(x);
	if (y > 88.0)
		error();
	y = exp(y);
	if(signgam)
		y = \-y;
.fi
.SH DIAGNOSTICS
A huge value is returned for negative integer arguments.
.SH BUGS
There should be a positive indication of error.