help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] Error handling


From: Brian Gough
Subject: Re: [Help-gsl] Error handling
Date: Wed, 19 Jul 2006 18:24:30 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)

At Wed, 19 Jul 2006 13:49:51 +0200,
Raphael Mack wrote:
> 
> Am Dienstag, den 18.07.2006, 17:19 +0100 schrieb Brian Gough:
> > We don't handle IEEE overflow, it's left to the user to detect it.
> 
> ok, but this does not mean, that the return value of a gsl function will
> never be GSL_EOVRFLW and GSL_EUNDRFLW, does it?

The error codes are returned for cases other than IEEE
overflow/underflow.  Mostly that is just in the special functions.

> > 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.
> 
> Thanks. But are these functions thread safe?

Off the top of my head I don't know, if you find out can you let me
know. Thanks.

-- 
Brian Gough

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




reply via email to

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