At Tue, 18 Jul 2006 15:17:40 +0200,
Raphael Mack wrote:
> The last line will overflow for element (0, 0) so I'd like to see the
> value of A = [Inf, 3] and I expected result == GSL_EOVRFLW.
> 
> I wonder how I can compile my app and setup gsl to get this behavior,
> because I already played with gsl_ieee_set_mode, but then I get an OS
> signal which I don't like.

We don't handle IEEE overflow, it's left to the user to detect it.

You can use the standard C function fetestexcept() to check whether
any IEEE exceptions were raised during a function call and then reset
them if necessary.

-- 
Brian Gough

Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/


_______________________________________________
Help-gsl mailing list
Help-gsl@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to