]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.cpp
GCD avoids to produce expanded expressions (Alexei's patch).
[ginac.git] / ginac / numeric.cpp
index b6c95e01e0c9854ee3e2ab7f97156b6966afc573..59d61ab4320a877c2cc49e631849c6a7e6ac7935 100644 (file)
@@ -7,7 +7,7 @@
  *  of special functions or implement the interface to the bignum package. */
 
 /*
- *  GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include "config.h"
@@ -1629,7 +1629,7 @@ const numeric binomial(const numeric &n, const numeric &k)
        }
        
        // 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.");
+       throw std::range_error("numeric::binomial(): don't know how to evaluate that.");
 }
 
 
@@ -1683,7 +1683,7 @@ const numeric bernoulli(const numeric &nn)
        if (n & 1)
                return (n==1) ? _num_1_2 : _num0;
        if (!n)
-                return _num1;
+               return _num1;
 
        // store nonvanishing Bernoulli numbers here
        static std::vector< cln::cl_RA > results;