summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 14:32:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 14:32:16 (GMT)
commit7c23c5778929f9b9a38fa8626d3a83b6f3248aef (patch)
treeec439b684d49835910cb4756d59d395e779aa6f6
parent7d90738e3aaf986b5ad2da52cca16fa71b78473c (diff)
downloadtcl-7c23c5778929f9b9a38fa8626d3a83b6f3248aef.zip
tcl-7c23c5778929f9b9a38fa8626d3a83b6f3248aef.tar.gz
tcl-7c23c5778929f9b9a38fa8626d3a83b6f3248aef.tar.bz2
Some eol whitespace eliminations
-rw-r--r--generic/tclResult.c4
-rw-r--r--generic/tclStrToD.c12
-rw-r--r--tests/clock.test4
-rw-r--r--tests/encoding.test2
-rw-r--r--tests/expr.test8
5 files changed, 15 insertions, 15 deletions
diff --git a/generic/tclResult.c b/generic/tclResult.c
index ac1f6dd..5c2a81f 100644
--- a/generic/tclResult.c
+++ b/generic/tclResult.c
@@ -1711,12 +1711,12 @@ Tcl_TransferResult(
* should be moved to the target interp.
* After moving result, this interp's result
* is reset. */
- int code, /* The return code value active in
+ int code, /* The return code value active in
* sourceInterp. Controls how the return options
* dictionary is retrieved from sourceInterp,
* same as in Tcl_GetReturnOptions, to then be
* transferred to targetInterp. */
- Tcl_Interp *targetInterp) /* Interp where result and return options
+ Tcl_Interp *targetInterp) /* Interp where result and return options
* should be stored. If source and target are
* the same, nothing is done. */
{
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index e4487cb..070a061 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -1350,9 +1350,9 @@ TclParseNumber(
objPtr->typePtr = &tclDoubleType;
if (exponentSignum) {
- /*
+ /*
* At this point exponent>=0, so the following calculation
- * cannot underflow.
+ * cannot underflow.
*/
exponent = -exponent;
}
@@ -1378,7 +1378,7 @@ TclParseNumber(
}
}
- /*
+ /*
* The desired number is now significandWide * 10**exponent
* or significandBig * 10**exponent, depending on whether
* the significand has overflowed a wide int.
@@ -1901,7 +1901,7 @@ RefineApproximation(
/*
* Compute twoMv as 2*M*v, where v is the approximate value.
- * This is done by bit-whacking to calculate 2**(M2+1)*significand,
+ * This is done by bit-whacking to calculate 2**(M2+1)*significand,
* and then multiplying by 5**M5.
*/
@@ -1936,7 +1936,7 @@ RefineApproximation(
}
mp_mul_2d(&twoMd, M2+exponent+1, &twoMd);
- /*
+ /*
* Now let twoMd = twoMd - twoMv, the difference between the exact and
* approximate values.
*/
@@ -2004,7 +2004,7 @@ RefineApproximation(
}
}
- /*
+ /*
* Reduce the numerator and denominator of the corrector term so that
* they will fit in the floating point precision.
*/
diff --git a/tests/clock.test b/tests/clock.test
index c6dba85..55607ce 100644
--- a/tests/clock.test
+++ b/tests/clock.test
@@ -35452,7 +35452,7 @@ test clock-33.5 {clock clicks tests, millisecond timing test} {
# 60 msecs seems to be the max time slice under Windows 95/98
expr {
($end > $start) && (($end - $start) <= 60) ?
- "ok" :
+ "ok" :
"test should have taken 0-60 ms, actually took [expr $end - $start]"}
} {ok}
test clock-33.5a {clock tests, millisecond timing test} {
@@ -35468,7 +35468,7 @@ test clock-33.5a {clock tests, millisecond timing test} {
# 60 msecs seems to be the max time slice under Windows 95/98
expr {
($end > $start) && (($end - $start) <= 60) ?
- "ok" :
+ "ok" :
"test should have taken 0-60 ms, actually took [expr $end - $start]"}
} {ok}
test clock-33.6 {clock clicks, milli with too much abbreviation} {
diff --git a/tests/encoding.test b/tests/encoding.test
index 591efe6..664a041 100644
--- a/tests/encoding.test
+++ b/tests/encoding.test
@@ -726,7 +726,7 @@ test encoding-28.0 {all encodings load} -body {
encoding convertto $name $string
# discard the cached internal representation of Tcl_Encoding
- # Unfortunately, without this, encoding 2-1 fails.
+ # Unfortunately, without this, encoding 2-1 fails.
llength $name
}
return $count
diff --git a/tests/expr.test b/tests/expr.test
index 4724ee1..f0b75f4 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -6858,19 +6858,19 @@ test expr-41.13 {exponent overflow} {
} 0.0
test expr-41.14 {exponent overflow} {
expr 100e-2147483651
-} 0.0
+} 0.0
test expr-41.15 {exponent overflow} {
expr 1.0e-2147483648
-} 0.0
+} 0.0
test expr-41.16 {exponent overflow} {
expr 1.0e-2147483649
-} 0.0
+} 0.0
test expr-41.17 {exponent overflow} {
expr 1.23e-2147483646
} 0.0
test expr-41.18 {exponent overflow} {
expr 1.23e-2147483647
-} 0.0
+} 0.0
test expr-41.19 {numSigDigs == 0} {
expr 0e309