Evaluate binomial coefficients: Difference between revisions

Line 756:
(100 50) = 1976664223067613962806675336</pre>
 
The above wouldn't work for me (100C50 correctly gives 100891344545564193334812497256). This next one is a translation of C#:
 
{{trans|C#}}
 
<syntaxhighlight lang="d">T BinomialCoeff(T)(in T n, in T k)
{
Line 782 ⟶ 785:
<pre>120
100891344545564193334812497256</pre>
 
 
 
 
 
 
 
=={{header|dc}}==
121

edits