[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] UNDERFLOW error
From: |
Francesco Petrogalli |
Subject: |
[Help-gsl] UNDERFLOW error |
Date: |
Fri, 18 Nov 2011 21:04:32 -0500 |
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] UNDERFLOW error,
Francesco Petrogalli <=