summaryrefslogtreecommitdiff
path: root/out_str.c
diff options
context:
space:
mode:
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;