help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] UNDERFLOW error


From: Liam Healy
Subject: Re: [Help-gsl] UNDERFLOW error
Date: Sat, 19 Nov 2011 09:03:37 -0500

See
http://www.gnu.org/s/gsl/manual/html_node/Setting-up-your-IEEE-environment.html

I think you want mask-underflow; see "adjusted combination of modes"
example on that page.  You're right, it should be the default, and it's
always been the default on systems I've used; I'm not sure why you have a
different IEEE mode by default.

Liam

On Fri, Nov 18, 2011 at 9:04 PM, Francesco Petrogalli <
address@hidden> wrote:

> Hi,
> I am using the function gsl_sf_taylorcoeff in my code, which return
> the value {x^n\over n!} for real x>=0 and  integer n>=0.
>
> For  small values of  x (\approx 10e-15) the default error handler of
> gsl is aborting my code with an underflow error.
> Probably a better algorithm in my code would not produce such problem,
> but I wonder why the underflow error is not "fixed" just returning 0.0
> as value of the function.
> Shouldn't this be a reasonable approach to underflow problems of this
> function? (If not, what am I missing?...)
>
> Best,
>
> franZ
>
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-gsl
>


reply via email to

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