summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-06-05 15:40:56 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-06-05 15:40:56 (GMT)
commit12ef999bc6349fb7ea9cc20b1940422a4533424f (patch)
tree32d0428c5dfaf44becbc57435ca0bdf49166521e
parentae1f7964a946b5875aea979975c8a3f7c975eb76 (diff)
downloadtcl-12ef999bc6349fb7ea9cc20b1940422a4533424f.zip
tcl-12ef999bc6349fb7ea9cc20b1940422a4533424f.tar.gz
tcl-12ef999bc6349fb7ea9cc20b1940422a4533424f.tar.bz2
Remove unused variable mantDIGIT.
-rwxr-xr-xgeneric/tclStrToD.c3
1 files changed, 0 insertions, 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.));
/*