Bengt Richter wrote: > On 4 Jan 2006 12:46:47 -0800, "Raven" <[EMAIL PROTECTED]> wrote:
>>The problem with Stirling's approximation is that I need to calculate >>the hypergeometric hence the factorial for numbers within a large range >>e.g. choose(14000,170) or choose(5,2) > > It seems you are hinting at some accuracy requirements that you haven't > yet explained. I'm curious how you use the values, and how that affects your > judgement of Stirling's approximation. In fact, perhaps the semantics of your > value usage could even suggest an alternate algorithmic approach to your > actual end result. Does it matter? Implementing Stirling's approximation is pointless when scipy.special.gammaln() or scipy.special.gamma() does it for him. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list