summaryrefslogtreecommitdiff
path: root/out_str.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-10-26 11:59:59 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-10-26 11:59:59 +0000
commitda4b19c01ec0e27d42071d294e29fc56e1a1b16a (patch)
tree393496f9c6cc54d9bcde0fc0d77691fdcfdf255a /out_str.c
parent33336e9a85f1ae242191e1b2286cded95f11362b (diff)
downloadmpfr-da4b19c01ec0e27d42071d294e29fc56e1a1b16a.tar.gz
protected all macros: xxx -> MPFR_xxx
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@786 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'out_str.c')
-rw-r--r--out_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/out_str.c b/out_str.c
index 9d55d6fbb..04ea9d724 100644
--- a/out_str.c
+++ b/out_str.c
@@ -40,8 +40,8 @@ mpfr_out_str (stream, base, n_digits, op, rnd_mode)
{
char *s,*s0; size_t l; mp_exp_t e;
- if (FLAG_NAN(op)) { fprintf(stream, "NaN"); return 3; }
- if (!NOTZERO(op)) { fprintf(stream, "0"); return 1; }
+ if (MPFR_IS_NAN(op)) { fprintf(stream, "NaN"); return 3; }
+ if (!MPFR_NOTZERO(op)) { fprintf(stream, "0"); return 1; }
s = mpfr_get_str(NULL, &e, base, n_digits, op, rnd_mode);
s0 = s;