summaryrefslogtreecommitdiff
path: root/get_ui.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2003-10-06 15:53:46 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2003-10-06 15:53:46 +0000
commit1bf291d11c8389ebdb657a645ff8da5758a6eee6 (patch)
tree20c889f09d2221c3b0a1f092e0ced95494767075 /get_ui.c
parentd495702c3ae3ab8d45147b9b647d988364206ce2 (diff)
downloadmpfr-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_ui.c b/get_ui.c
index 7373b4f09..90239bab9 100644
--- a/get_ui.c
+++ b/get_ui.c
@@ -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);