]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.cpp
replaced non-ASCII character in exception msg
[ginac.git] / ginac / numeric.cpp
index fc6c692c3f966643c98dda5ad9c42ce7b95f9789..3130e272ac17e3afb2e549d8f9ae75437569c1d2 100644 (file)
@@ -1628,8 +1628,8 @@ const numeric binomial(const numeric &n, const numeric &k)
                }
        }
        
-       // should really be gamma(n+1)/gamma(r+1)/gamma(n-r+1) or a suitable limit
-       throw std::range_error("numeric::binomial(): donยดt know how to evaluate that.");
+       // should really be gamma(n+1)/gamma(k+1)/gamma(n-k+1) or a suitable limit
+       throw std::range_error("numeric::binomial(): don't know how to evaluate that.");
 }
 
 
@@ -1810,7 +1810,7 @@ const numeric mod(const numeric &a, const numeric &b)
 /** Modulus (in symmetric representation).
  *  Equivalent to Maple's mods.
  *
- *  @return a mod b in the range [-iquo(abs(m)-1,2), iquo(abs(m),2)]. */
+ *  @return a mod b in the range [-iquo(abs(b)-1,2), iquo(abs(b),2)]. */
 const numeric smod(const numeric &a, const numeric &b)
 {
        if (a.is_integer() && b.is_integer()) {