This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: unexpected result with gsl_sf_lngamma_e
- To: Laura Evans <lje5 at cornell dot edu>
- Subject: Re: unexpected result with gsl_sf_lngamma_e
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Fri, 12 Oct 2001 16:33:24 +0100 (BST)
- Cc: gsl-discuss at sources dot redhat dot com, Bill Noon <noon at snow dot cit dot cornell dot edu>
- References: <v04210100b7ec9e5762e6@[132.236.186.29]>
Laura Evans writes:
> My impression from the documentation was that I should check
> the integer status field
> after execution of this routine to determine whether the
> routine executed successfully.
Right, there is also a default error handler in place which traps all
errors with a core dump. You just need to turn that off with
gsl_set_error_handler_off() and the program will continue on error,
returning the status value GSL_EDOM and result value NaN.
regards
Brian Gough