François-Xavier Coudert writes:

 > I'm working on IEEE exceptions support in gfortran (the new GNU
 > Fortran compiler), and I was looking at the IEEE code for ppc-darwin
 > in gsl-1.7. I was puzzled by the following piece of code:
 > 
 >   if (exception_mask & GSL_IEEE_TRAP_INEXACT)
 >     {
 >       fp_scr.xe = 1 ;                           //xe bit:  inexact
 > exception enable
 >     }
 >   else
 >     {
 >       fp_scr.xe = 1 ;
 >     }
 > 
 > I think this is a typo (the second case should be "fp_scr.xe = 0").

Thanks for the bug report, the code does look wrong.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/


_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to