summaryrefslogtreecommitdiff
path: root/inp_str.c
diff options
context:
space:
mode:
authorhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-13 14:50:13 +0000
committerhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-13 14:50:13 +0000
commit3035f62d87667e08ac5370bca1e47fe8f683c2e8 (patch)
treec92b2c9b03671e77b17f5ca89f731e53cdfaa1ce /inp_str.c
parentee574c97721b76618933ca6d5738f948e7abe1ec (diff)
downloadmpfr-3035f62d87667e08ac5370bca1e47fe8f683c2e8.tar.gz
Take into account Inf, Nans ; clear the flags of the return variable
in most function calls. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@851 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'inp_str.c')
-rw-r--r--inp_str.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inp_str.c b/inp_str.c
index 92627f9d5..9bcbccf1a 100644
--- a/inp_str.c
+++ b/inp_str.c
@@ -43,6 +43,7 @@ mpfr_inp_str (rop, stream, base, rnd_mode)
size_t retval;
size_t nread;
+ MPFR_CLEAR_FLAGS(rop);
if (stream == 0)
stream = stdin;