Binomial Coefficient
Pascal Bauer
hero.of.butterflies at gmail.com
Wed Jan 14 09:45:26 CST 2009
Hi List,
it seems to me, that the routine which calculate the binomial coefficient
has a problem (it gives wrong answers).
octave:1> printf("%i\n",nchoosek(81, 27))
2306279447501836648448
But the correct value is
2306279447501851002720
Cheers
Pasci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090114/38253040/attachment-0001.html
More information about the Bug-octave
mailing list