summaryrefslogtreecommitdiff
path: root/sub1.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-06-26 15:47:03 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-06-26 15:47:03 +0000
commit5dd9e591897fe6a63de8bef4b4d043345bc19167 (patch)
treef63e955726b1e6d11ed11066cf7e900a31298046 /sub1.c
parent6f5e416d1ab1ebb42490f44616ace8a0cdc148d4 (diff)
downloadmpfr-5dd9e591897fe6a63de8bef4b4d043345bc19167.tar.gz
mp_exp_unsigned_t -> mpfr_uexp_t (internal type only).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6297 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sub1.c')
-rw-r--r--sub1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub1.c b/sub1.c
index 8c19e8b78..e813981ee 100644
--- a/sub1.c
+++ b/sub1.c
@@ -32,7 +32,7 @@ int
mpfr_sub1 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode)
{
int sign;
- mp_exp_unsigned_t diff_exp;
+ mpfr_uexp_t diff_exp;
mp_prec_t cancel, cancel1;
mp_size_t cancel2, an, bn, cn, cn0;
mp_limb_t *ap, *bp, *cp;
@@ -141,7 +141,7 @@ mpfr_sub1 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode)
}
}
- diff_exp = (mp_exp_unsigned_t) MPFR_GET_EXP (b) - MPFR_GET_EXP (c);
+ diff_exp = (mpfr_uexp_t) MPFR_GET_EXP (b) - MPFR_GET_EXP (c);
/* reserve a space to store b aligned with the result, i.e. shifted by
(-cancel) % BITS_PER_MP_LIMB to the right */