This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to define GSL_SF_FACT_NMAX and GSL_SF_DOUBLEFACT_NMAX


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]