diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-11-07 10:08:57 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-11-07 10:08:57 +0000 |
commit | 73e6d7bd621b015bfb8d64b5be5fa80f52e6ae0a (patch) | |
tree | d0cc39f0951ec9cd728f9698681e5a88c9d348ab /get_str.c | |
parent | d406c7c3f07cacb170533149e9319c334062792b (diff) | |
download | mpfr-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |