]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.cpp
[DOC] Fix build of reference.pdf.
[ginac.git] / ginac / numeric.cpp
index c28cc56ad2853a34882800a5c272bf40ecc66480..92b3c46645f71bbf1ff028244d9c4320965e6fba 100644 (file)
@@ -2139,7 +2139,7 @@ const numeric doublefactorial(const numeric &n)
 /** The Binomial coefficients.  It computes the binomial coefficients.  For
  *  integer n and k and positive n this is the number of ways of choosing k
  *  objects from n distinct objects.  If n is a negative integer, the formula
- *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k0)
+ *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k>=0)
  *  binomial(n,k) == (-1)^(n-k)*binomial(-k-1,n-k) (otherwise)
  *  is used to compute the result. */
 const numeric binomial(const numeric &n, const numeric &k)