summaryrefslogtreecommitdiff
path: root/set_f.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-14 17:47:12 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-14 17:47:12 +0000
commitddaeb016bab0a9f6e84a884df85f4859620bb7ef (patch)
treea8ac6dc4d8e8d3526ed3a7793f21939e24bddc2c /set_f.c
parent3fefb9eb4d8ede8b2978862a7dcd98e2ad00c807 (diff)
downloadmpfr-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_f.c')
-rw-r--r--set_f.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/set_f.c b/set_f.c
index 11ea6a5ec..6b82b0b7c 100644
--- a/set_f.c
+++ b/set_f.c
@@ -50,6 +50,8 @@ mpfr_set_f(y, x, rnd_mode)
return;
}
+ MPFR_CLEAR_FLAGS(y);
+
TMP_MARK(marker);
sx = ABS(SIZ(x)); sy = MPFR_ABSSIZE(y);
my = MPFR_MANT(y); mx = MPFR_MANT(x);