summaryrefslogtreecommitdiff
path: root/get_ld.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2003-03-24 13:24:54 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2003-03-24 13:24:54 +0000
commit6c1a3520f0b811439a7dae65ea5838b249231ca7 (patch)
treee777cf72713e33fe27e21454e04eed80601d4412 /get_ld.c
parent356e06fd59f6c4fa3495639c8a11b6756ffdbdd6 (diff)
downloadmpfr-6c1a3520f0b811439a7dae65ea5838b249231ca7.tar.gz
removed unused variable
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2276 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'get_ld.c')
-rw-r--r--get_ld.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/get_ld.c b/get_ld.c
index aeac83463..878c0f032 100644
--- a/get_ld.c
+++ b/get_ld.c
@@ -67,7 +67,6 @@ mpfr_get_ld (mpfr_srcptr x, mp_rnd_t rnd_mode)
double s; /* part of result */
mp_exp_t e; /* exponent of x */
mp_exp_t sh; /* exponent shift, so that x/2^sh is in the double range */
- int negative;
mpfr_t y, z;
/* first round x to the target long double precision, so that
@@ -75,7 +74,6 @@ mpfr_get_ld (mpfr_srcptr x, mp_rnd_t rnd_mode)
problems) */
mpfr_init2 (y, MPFR_LDBL_MANT_DIG);
mpfr_set (y, x, rnd_mode);
- negative = MPFR_SIGN(y) < 0;
e = MPFR_EXP(y);
if (e > 1023)
{