diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-25 16:07:34 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 1999-06-25 16:07:34 +0000 |
commit | 6e436462361957ce370da81ef0851780c3458da2 (patch) | |
tree | eca1a8c3f0098c74459532161c174e76cc03f7fa /set_str_raw.c | |
parent | a7660723d6442924c3c0c9579dfc781ceea4c787 (diff) | |
download | mpfr-6e436462361957ce370da81ef0851780c3458da2.tar.gz |
put correctly sign with macro CHANGE_SIGN
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@199 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'set_str_raw.c')
-rw-r--r-- | set_str_raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/set_str_raw.c b/set_str_raw.c index 60768768f..478346b40 100644 --- a/set_str_raw.c +++ b/set_str_raw.c @@ -76,7 +76,7 @@ mpfr_set_str_raw(mpfr_ptr x, char *str) if (cnt) mpn_lshift(xp, xp, xsize, cnt); x -> _mp_exp = expn - cnt; - x -> _mp_size = (negative ? -xsize : xsize); + x -> _mp_size = xsize; if (negative) CHANGE_SIGN(x); free(str0); |