*BSD News Article 10342


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA7790 ; Tue, 26 Jan 93 07:00:24 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!gatech!usenet.ins.cwru.edu!ljo
From: ljo@r2d2.eeap.cwru.edu (L. Jonas Olsson)
Newsgroups: comp.unix.bsd
Subject: lgamma is missing
Date: 24 Jan 1993 23:52:53 GMT
Organization: Case Western Reserve Univ. Cleveland, Ohio (USA)
Lines: 12
Message-ID: <1jva4lINNdl@usenet.INS.CWRU.Edu>
NNTP-Posting-Host: proteus.eeap.cwru.edu
Keywords: Octave, mathlib, lgamma, signgam

I'm trying to compile Octave (a Matlab clone) and it uses the function
lgamma. 386BSD comes with a man page for it and it is also mentioned in
<math.h>. In the man page is is described to return ln|gamma(x)| and
the external integer signgam returns the sign of gamma(x).

In the mathlib-2.1-386bsd package there is a function lgamma, but it
does not set the external variable signgam, and therefore doesn't
work with (unmodified) Octave.

	Jonas Olsson
	ljo@po.cwru.edu