summaryrefslogtreecommitdiff
path: root/get_str.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-11-07 10:08:57 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-11-07 10:08:57 +0000
commit73e6d7bd621b015bfb8d64b5be5fa80f52e6ae0a (patch)
treed0cc39f0951ec9cd728f9698681e5a88c9d348ab /get_str.c
parentd406c7c3f07cacb170533149e9319c334062792b (diff)
downloadmpfr-73e6d7bd621b015bfb8d64b5be5fa80f52e6ae0a.tar.gz
Some minor optimizations.
Optimization of mul.c / sub1.c. Some clean up in the header files. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2537 280ebfd0-de03-0410-8827-d642c229c3f4
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 */