summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 09:35:08 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 09:35:08 (GMT)
commit3b742b785e159e8a3b9e25c985fd67ab028a19d2 (patch)
tree9f339863ba93d52279c75d3bb1967f4395f9a604 /generic/tclStrToD.c
parent6bdd668a7ce4815e5beb82b3fe15262f99d44987 (diff)
downloadtcl-3b742b785e159e8a3b9e25c985fd67ab028a19d2.zip
tcl-3b742b785e159e8a3b9e25c985fd67ab028a19d2.tar.gz
tcl-3b742b785e159e8a3b9e25c985fd67ab028a19d2.tar.bz2
Correct spelling errors in comments and documentation, but also non-comment
corrections in history.tcl and tcltest.test.
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r--generic/tclStrToD.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index fd3170a..75125f0 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -1700,7 +1700,7 @@ MakeLowPrecisionDouble(
}
/*
- * All the easy cases have failed. Promote ths significand to bignum and
+ * All the easy cases have failed. Promote the significand to bignum and
* call MakeHighPrecisionDouble to do it the hard way.
*/
@@ -1996,7 +1996,7 @@ RefineApproximation(
/*
* Compute twoMd as 2*M*d, where d is the exact value.
* This is done by multiplying by 5**(M5+exponent) and then multiplying
- * by 2**(M5+exponent+1), which is, of couse, a left shift.
+ * by 2**(M5+exponent+1), which is, of course, a left shift.
*/
mp_init_copy(&twoMd, exactSignificand);
@@ -2200,7 +2200,7 @@ NormalizeRightward(
*
* RequiredPrecision --
*
- * Determines the number of bits needed to hold an intger.
+ * Determines the number of bits needed to hold an integer.
*
* Results:
* Returns the position of the most significant bit (0 - 63). Returns 0