Patch to define GSL_SF_FACT_NMAX and GSL_SF_DOUBLEFACT_NMAX

Brian Gough bjg@network-theory.co.uk
Wed Oct 12 17:10:00 GMT 2005


Jonathan G. Underwood writes:
 > The attached patch exports the following two macros:
 > 
 > GSL_SF_FACT_NMAX
 > GSL_SF_DOUBLEFACT_NMAX
 > 
 > which define the maximum values of n such that gsl_sf_fact(n) and
 > gsl_sf_doublefact(n) do not over flow. 

Thanks, this seems sensible.  

 > related to the gamma function. Also, this patch adds an #undef 
 > LogRootTwoPi_ for gamma.c, as it was never meant to be exported 
 > (cosmetic). 

The LogRootTwoPi_ definition is local to the file, so that one's ok.

-- 
Brian Gough

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



More information about the Gsl-discuss mailing list