Evaluate binomial coefficients: Difference between revisions

Content added Content deleted
(Implementation doesn't work properly. Remove until further notice.)
(Added a general comment.)
Line 1,755: Line 1,755:


=={{header|Nim}}==
=={{header|Nim}}==
Note that a function to compute these coefficients, named “binom”, is available in standard module “math”.
<lang nim>proc binomialCoeff(n, k: int): int =
<lang nim>proc binomialCoeff(n, k: int): int =
result = 1
result = 1