summaryrefslogtreecommitdiff
path: root/mpf
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2007-12-11 05:10:04 +0100
committertege <tege@gmplib.org>2007-12-11 05:10:04 +0100
commit272bcfb35b1905e4dd70ccbb08f7a5fe2d367f2e (patch)
treead1409e7298740f58b82224e2d0595762f9a528f /mpf
parentc5637d37a650d070f66d35edd375ca9c9f8503e6 (diff)
downloadgmp-272bcfb35b1905e4dd70ccbb08f7a5fe2d367f2e.tar.gz
Fix typo in last change.
Diffstat (limited to 'mpf')
-rw-r--r--mpf/set_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpf/set_str.c b/mpf/set_str.c
index 4aa3eb7d5..0ff442b64 100644
--- a/mpf/set_str.c
+++ b/mpf/set_str.c
@@ -2,7 +2,7 @@
in base BASE to a float in dest. If BASE is zero, the leading characters
of STRING is used to figure out the base.
-Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2005 Free
+Copyright 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2005, 2007 Free
Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -288,7 +288,7 @@ mpf_set_str (mpf_ptr x, const char *str, int base)
while (dig < exp_base)
{
exp_in_base = exp_in_base * exp_base;
- exp_base += dig;
+ exp_in_base += dig;
c = (unsigned char) *expptr++;
dig = digit_value[c];
}