delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/11/05:01:39

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 11 Oct 2007 09:52:58 +0200
From: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>
To: Marco Atzeri <marco_atzeri AT yahoo DOT it>
cc: newlib AT sources DOT redhat DOT com, cygwin AT cygwin DOT com
Subject: Re: A problem with tgamma function
In-Reply-To: <586258.4020.qm@web25003.mail.ukl.yahoo.com>
Message-ID: <Pine.CYG.4.58.0710110950230.3328@homepc>
References: <586258 DOT 4020 DOT qm AT web25003 DOT mail DOT ukl DOT yahoo DOT com>
MIME-Version: 1.0
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

In any case, it seems that 'tgamma' has some problem, as this bug report
says (your results are the same):

    http://sources.redhat.com/bugzilla/show_bug.cgi?id=5159


   Angelo.


On Thu, 11 Oct 2007, Marco Atzeri wrote:

>
> --- Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it> ha
> scritto:
>
> >
> > For the sake of completeness I want to flag this.
> >
> > A recent failure of GFortran tests, regarding the
> > usage of GAMMA
> > functions, results in the following problem with
> > 'tgamma' on Cygwin
> > (gcc-3.4.4-3):
>
> Not confirmed on latest snapshot
>
> $ uname -vo
> 20070920 12:04:04 Cygwin
>
> $ gcc -v
> Reading specs from
> /bin/../lib/gcc/i686-pc-cygwin/3.4.4/specs
> Configured with:
> /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure
> --verbose --prefix=/usr --exec-prefix=/usr
> --sysconfdir=/etc --libdir=/usr/lib
> --libexecdir=/usr/lib --mandir=/usr/share/man
> --infodir=/usr/share/info
> --enable-languages=c,ada,c++,d,f77,pascal,java,objc
> --enable-nls --without-included-gettext
> --enable-version-specific-runtime-libs --without-x
> --enable-libgcj --disable-java-awt --with-system-zlib
> --enable-interpreter --disable-libgcj-debug
> --enable-threads=posix --enable-java-gc=boehm
> --disable-win32-registry --enable-sjlj-exceptions
> --enable-hash-synchronization --enable-libstdcxx-debug
> Thread model: posix
> gcc version 3.4.4 (cygming special, gdc 0.12, using
> dmd 0.125)
>
>
> > $ ./a.exe
> > Segmentation fault (core dumped)
>
> ./a.exe
> Arg: 18.5, Exact: 1.4986121e+15, tgamma:
> 1.4986145e+15, diff: 1.6121044e-06
> Arg: 19.5, Exact: 2.7724323e+16, tgamma: 2.772436e+16,
> diff: 1.3167939e-06
> Arg: 23.5, Exact: 5.3613034e+21, tgamma:
> 5.3612978e+21, diff: 1.0500245e-06
> Arg: 29.5, Exact: 1.6348124e+30, tgamma:
> 1.6348178e+30, diff: 3.3277006e-06
> Arg: 30.5, Exact: 4.8226972e+31, tgamma:
> 4.8226831e+31, diff: 2.9078208e-06
> Arg: 31.5, Exact: 1.4709225e+33, tgamma:
> 1.4709265e+33, diff: 2.7352257e-06
> Arg: 32.5, Exact: 4.633406e+34, tgamma: 4.6333912e+34,
> diff: 3.2061253e-06
> Arg: 33.5, Exact: 1.5058569e+36, tgamma:
> 1.5058626e+36, diff: 3.7881605e-06
> Arg: 34.5, Exact: 5.0446211e+37, tgamma:
> 5.0446287e+37, diff: 1.5077254e-06
>
> Regards
> Marco
>
>
>
>       ___________________________________
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
>
>

--
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