help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] gsl_isinf


From: Brian Gough
Subject: Re: [Help-gsl] gsl_isinf
Date: Thu, 09 Oct 2008 20:55:14 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI)

At Thu, 09 Oct 2008 05:07:17 +0800,
Jerome BENOIT wrote:
> >> gsl_isinf(GSL_NEGINF) give -1 (as expected) on some of my computers,
> >> whereas it gives +1 on others: my computer are amd64 Debian boxes (Etch 
> >> based and Lenny): 
> >> Amazingly, it seems that this feature is not well tested.
> > 
> > Can you compare the result with the system isinf() function. Thanks.
> 
> It appeared that gsl_isinf() and isinf() give the same results.

The problem was that we used the system isinf() function.  I have
modified the code to always test the sign and put a note in the
documentation.

-- 
Brian Gough

GNU Scientific Library -
http://www.gnu.org/software/gsl/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]