diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-10-06 15:53:46 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-10-06 15:53:46 +0000 |
commit | 1bf291d11c8389ebdb657a645ff8da5758a6eee6 (patch) | |
tree | 20c889f09d2221c3b0a1f092e0ced95494767075 /get_ui.c | |
parent | d495702c3ae3ab8d45147b9b647d988364206ce2 (diff) | |
download | mpfr-1bf291d11c8389ebdb657a645ff8da5758a6eee6.tar.gz |
replaced ABSSIZE by ESIZE (ABSSIZE is the allocated size, and should be
used only in functions init, set_prec, round_prec)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2480 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'get_ui.c')
-rw-r--r-- | get_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ mpfr_get_ui (mpfr_srcptr f, mp_rnd_t rnd) /* now the result is in the most significant limb of x */ exp = MPFR_GET_EXP (x); /* since |x| >= 1, exp >= 1 */ - n = MPFR_ABSSIZE(x); + n = MPFR_ESIZE(x); s = MPFR_MANT(x)[n - 1] >> (GMP_NUMB_BITS - exp); mpfr_clear (x); |