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/