summaryrefslogtreecommitdiff
path: root/extract.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 /extract.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 'extract.c')
-rw-r--r--extract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extract.c b/extract.c
index c18024eb9..b2e43f4fa 100644
--- a/extract.c
+++ b/extract.c
@@ -38,7 +38,7 @@ mpfr_extract (mpz_ptr y, mpfr_srcptr p, unsigned int i)
{
int two_i = 1 << i;
int two_i_2 = i ? two_i / 2 : 1;
- mp_size_t size_p = MPFR_ABSSIZE(p);
+ mp_size_t size_p = MPFR_ESIZE(p);
/* as 0 <= |p| < 1, we don't have to care with infinities, NaN, ... */