From 22bee8161ff83b967a50d1c853fc96598d6d48c6 Mon Sep 17 00:00:00 2001 From: dgp Date: Tue, 5 Jun 2012 15:40:56 +0000 Subject: Remove unused variable mantDIGIT. --- generic/tclStrToD.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c index 5f59500..76adf75 100755 --- a/generic/tclStrToD.c +++ b/generic/tclStrToD.c @@ -167,8 +167,6 @@ static int maxDigits; /* The maximum number of digits to the left of * the decimal point of a double. */ static int minDigits; /* The maximum number of digits to the right * of the decimal point in a double. */ -static int mantDIGIT; /* Number of mp_digit's needed to hold the - * significand of a double. */ static const double pow_10_2_n[] = { /* Inexact higher powers of ten. */ 1.0, 100.0, @@ -4405,7 +4403,6 @@ TclInitDoubleConversion(void) + 0.5 * log(10.)) / log(10.)); minDigits = (int) floor((DBL_MIN_EXP - DBL_MANT_DIG) * log((double) FLT_RADIX) / log(10.)); - mantDIGIT = (mantBits + DIGIT_BIT-1) / DIGIT_BIT; log10_DIGIT_MAX = (int) floor(DIGIT_BIT * log(2.) / log(10.)); /* -- cgit v0.12