diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-10-27 15:15:04 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-10-27 15:15:04 +0000 |
commit | 734c0a144b04e2cae4e67b394010e3f6e3cadecc (patch) | |
tree | e0bb801e56a43c3aebe1ad73851ede3588e082fb /get_d.c | |
parent | a7f45009dff2e3d0e8698b44e45f5cacacb82cdd (diff) | |
download | mpfr-734c0a144b04e2cae4e67b394010e3f6e3cadecc.tar.gz |
Change the internal format of MPFR: ZERO, INF and NAN have special values of exp.
Rename MPFR_ESIZE in MPFR_LIMB_SIZE.
Rename MPFR_ABSZISE in MPFR_ALLOC_SIZE.
Rename MPFR_INIT in MPFR_TMP_INIT (INIT1 too).
"mpfr.h" includes <gmp.h> if GMP isn't detected.
Change the way of detecting stdio.h (To check).
Use mpfr namespace for new definitions in "mpfr.h".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2524 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'get_d.c')
-rw-r--r-- | get_d.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -201,7 +201,7 @@ mpfr_get_d3 (mpfr_srcptr src, mp_exp_t e, mp_rnd_t rnd_mode) MPFR_ASSERTN(nbits >= 1); } np = (nbits - 1) / BITS_PER_MP_LIMB; - tp = (mp_ptr) (*__gmp_allocate_func) ((np + 1) * BYTES_PER_MP_LIMB); + tp = (mp_ptr) (*__gmp_allocate_func)((np+1) * BYTES_PER_MP_LIMB); carry = mpfr_round_raw (tp, MPFR_MANT(src), MPFR_PREC(src), negative, nbits, rnd_mode, (int *) 0); if (carry) |