Re: A problem with tgamma function

2007-10-12 Thread Angelo Graziosi
Lev Bishop wrote: > One immediately obvious problem with that implementation is that it > doesn't handle negative parameter. http://wwwasdoc.web.cern.ch/wwwasdoc/shortwrupsdir/c303/top.html http://wwwasdoc.web.cern.ch/wwwasdoc/cernlib.html Angelo. -- Unsubscribe info: http://cygwin.

Re: A problem with tgamma function

2007-10-12 Thread Lev Bishop
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

Re: A problem with tgamma function

2007-10-12 Thread Angelo Graziosi
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

Re: A problem with tgamma function

2007-10-11 Thread Lev Bishop
On 10/11/07, Angelo Graziosi wrote: > > That is a bug report against glibc. You cannot draw any inferences > > between that and newlib/Cygwin because they are totally separate and > > unrelated code bases. Technically, when it comes to maths, both lean very heavily on fdlibm, so they really aren'

Re: A problem with tgamma function

2007-10-11 Thread Angelo Graziosi
Brian Dessent wrote: > That is a bug report against glibc. You cannot draw any inferences > between that and newlib/Cygwin because they are totally separate and > unrelated code bases. > That would be expected given Lev's indication of a fix in newlib What I wished to stress was that the 'tgam

Re: A problem with tgamma function

2007-10-11 Thread Brian Dessent
Angelo Graziosi wrote: > 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 That is a bug report against glibc. You cannot draw any inferences between that and newlib/Cygwin

Re: A problem with tgamma function

2007-10-11 Thread Angelo Graziosi
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 <[EMAIL PROTECTED]> ha > scritto: > > > > > For t

Re: A problem with tgamma function

2007-10-11 Thread Angelo Graziosi
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 <[EMAIL PROTECTED]> ha > scritto: > > > > > For