Hi again, using the "mask-underflow" environment setup I managed to torn off the underflow error, but know for the same input values the code terminates with the error message "Floating point exception"
I tried to get rid of it with "mask-all" and other setup keywords, but it is not working. Any idea? Thanks, franZ PS I am working on Ubuntu 10.04 with GSL 1.13 2011/11/19 Liam Healy <[email protected]>: > 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 > <[email protected]> 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 >> [email protected] >> https://lists.gnu.org/mailman/listinfo/help-gsl > > _______________________________________________ Help-gsl mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gsl
