diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-14 17:47:12 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-12-14 17:47:12 +0000 |
commit | ddaeb016bab0a9f6e84a884df85f4859620bb7ef (patch) | |
tree | a8ac6dc4d8e8d3526ed3a7793f21939e24bddc2c /set.c | |
parent | 3fefb9eb4d8ede8b2978862a7dcd98e2ad00c807 (diff) | |
download | mpfr-ddaeb016bab0a9f6e84a884df85f4859620bb7ef.tar.gz |
Bug fixed concerning the flags.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@861 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'set.c')
-rw-r--r-- | set.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -46,6 +46,7 @@ mpfr_set4(a, b, rnd_mode, signb) if (MPFR_SIGN(a) * signb < 0) MPFR_CHANGE_SIGN(a); return; } + MPFR_CLEAR_FLAGS(a); carry = mpfr_round_raw(ap, MPFR_MANT(b), MPFR_PREC(b), (signb<0), preca, rnd_mode); MPFR_EXP(a) = MPFR_EXP(b); |