This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A problem wit tgamma function


--- Angelo Graziosi <Angelo.Graziosi@roma1.infn.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]