From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31268 invoked by alias); 27 Nov 2002 18:19:13 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 31261 invoked from network); 27 Nov 2002 18:19:12 -0000 Received: from unknown (HELO smtp-relay-1.adobe.com) (192.150.11.1) by sources.redhat.com with SMTP; 27 Nov 2002 18:19:12 -0000 Received: from inner-relay-2.corp.adobe.com (inner-relay-2 [153.32.1.52]) by smtp-relay-1.adobe.com (8.12.3/8.12.3) with ESMTP id gARIJ9lf024708 for ; Wed, 27 Nov 2002 10:19:09 -0800 (PST) Received: from iplan-mn.corp.adobe.com (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-2.corp.adobe.com (8.12.3/8.12.3) with ESMTP id gARIJ3L8012915 for ; Wed, 27 Nov 2002 10:19:03 -0800 (PST) Received: from mn-eljaypc.adobe.com ([130.248.188.133]) by iplan-mn.corp.adobe.com (Netscape Messaging Server 4.15 mn Jul 11 2001 16:32:57) with ESMTP id H68YVQ00.8BG; Wed, 27 Nov 2002 12:19:02 -0600 Message-Id: <4.3.2.7.2.20021127121457.00b76f08@iplan-mn.corp.adobe.com> X-Sender: eljay@iplan-mn.corp.adobe.com Date: Wed, 27 Nov 2002 10:19:00 -0000 To: cowen , gcc-help@gcc.gnu.org From: Eljay Love-Jensen Subject: Re: simple question [OT] In-Reply-To: <5.1.1.6.0.20021127101045.00a80550@mail.attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-11/txt/msg00202.txt.bz2 Hi Charles, I believe the algorithm, and the results (including 15!) are correct... given the number of significant digits that the algorithm commits to, which I think is around 6 significant digits. The algorithm is an approximation of the mathematical gamma function, relying on the asymptotic nature of the natural log of the gamma function. Also, floats and doubles have digits of precision as well, which I assume is accounted for in the number of significant digits in the lnGamma contract. Sincerely, --Eljay