Evaluate binomial coefficients: Difference between revisions
Content deleted Content added
Alter JavaScript version, fixing a rounding bug that occurred with inputs `binom(50, 25)` and `binom(100, 10)` |
|||
Line 1,186: | Line 1,186: | ||
} |
} |
||
console.log(binom(5, 3)); |
console.log(binom(5, 3));</lang> |
||
</lang> |
|||
{{Out}} |
{{Out}} |
||
<pre>10</pre> |
<pre>10</pre> |