delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/12/08:46:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <ba40711f0710120545m7ea72cc5oa0604a4a5ea25072@mail.gmail.com>
Date: Fri, 12 Oct 2007 08:45:45 -0400
From: "Lev Bishop" <lev DOT bishop AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: A problem with tgamma function
In-Reply-To: <Pine.OSF.4.58.0710120952130.4055@ax0rm1.roma1.infn.it>
MIME-Version: 1.0
References: <Pine DOT OSF DOT 4 DOT 58 DOT 0710120952130 DOT 4055 AT ax0rm1 DOT roma1 DOT infn DOT it>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 10/12/07, Angelo Graziosi wrote:
>
> Lev Bishop wrote:
>
> > I'm sure glibc and newlib would both appreciate a good algorithm for
> > tgamma(), if you felt like submitting one...
>
> It seems that a good algorithm has yet been coded in the GAMMA
> implementation of CERNLIB
> (http://wwwasdoc.web.cern.ch/wwwasdoc/shortwrupsdir/c302/top.html,
> http://cernlib.web.cern.ch/cernlib/download/2006_source/src/mathlib/gen/c/gamma64.F),
> because with that implementation the test I posted passes...

One immediately obvious problem with that implementation is that it
doesn't handle negative parameter.

Lev

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019