summaryrefslogtreecommitdiff
path: root/get_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'get_str.c')
-rw-r--r--get_str.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/get_str.c b/get_str.c
index 7bcea24be..531a16913 100644
--- a/get_str.c
+++ b/get_str.c
@@ -641,7 +641,8 @@ mpfr_get_str (char *s, mp_exp_t *e, int b, size_t m, mpfr_srcptr x, mp_rnd_t rnd
nb = n * BITS_PER_MP_LIMB - prec;
/* round xp to the precision prec, and put it into x1
put the carry into x1[n] */
- if ((x1[n] = mpfr_round_raw_generic (x1, xp, MPFR_PREC(x), MPFR_ISNEG(x),
+ if ((x1[n] = mpfr_round_raw_generic (x1, xp, MPFR_PREC(x),
+ MPFR_IS_STRICTNEG(x),
prec, rnd, &inexp, 0)))
{
/* overflow when rounding x: x1 = 2^prec */