Re: hypogeometric sum



On 29 mrt, 07:04, gsgs <ster...@xxxxxxx> wrote:
I need to integrate the routine into my existing C-program
typical values are:
k~200,r~1000,n~2000,w~400
h(k;r,n,w)=b(w,k)*b(n-w,r-k)/b(n,r)  ,
k<=w,r-k<=n-w,r>=n and the result must be between 0 and 1

desired precision is 20 decimal digits
variables are of type "double" in C

Do you mean: h(k;r,n,w)= (b(w,k)*b(n-w,r-k))/b(n,r) ?
.