summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2025-04-16 17:34:13 (GMT)
committerdgp <dgp@users.sourceforge.net>2025-04-16 17:34:13 (GMT)
commitb1b52b01438376c0a34e39fcbfea95172f7918ab (patch)
treeaf647a695a7e32b753ab24e7eed25a29fce9a6bb
parentaca3422d8b73ea8dbb26290c5ca10887161d42ca (diff)
downloadtcl-b1b52b01438376c0a34e39fcbfea95172f7918ab.zip
tcl-b1b52b01438376c0a34e39fcbfea95172f7918ab.tar.gz
tcl-b1b52b01438376c0a34e39fcbfea95172f7918ab.tar.bz2
Correct false claims in the header comment of RequiredPrecision()
-rw-r--r--generic/tclStrToD.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 8afe40c..ed49474 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -2204,7 +2204,8 @@ NormalizeRightward(
* Determines the number of bits needed to hold an integer.
*
* Results:
- * Returns the position of the most significant bit (0 - 63). Returns 0
+ * Returns the position of the most significant bit (1 - 64), starting
+ * the counting at 1 for the LSB (RP(1) -> 1). Returns 0
* if the number is zero.
*
*----------------------------------------------------------------------