summaryrefslogtreecommitdiffstats
path: root/doc/expr.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-27 20:05:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-27 20:05:26 (GMT)
commit9535d1ecdc9355cff86a0335a55d50a5da242457 (patch)
tree011ce18ce878a709f99580d2bde5dd2c1d0b1d1f /doc/expr.n
parent9eb32ba719b38f3e5efbb79dddcd22c42d241693 (diff)
downloadtcl-9535d1ecdc9355cff86a0335a55d50a5da242457.zip
tcl-9535d1ecdc9355cff86a0335a55d50a5da242457.tar.gz
tcl-9535d1ecdc9355cff86a0335a55d50a5da242457.tar.bz2
Document maximum value for right argument of '**' operator.
Adapt test-cases to test for exactly one more than this maximum value. Make sure that the maximum is the same for DIGIT_BIT > 28. Change macro's for mp_iseven()/mp_isodd() so they don't depend on value of DIGIT_BIT any more.
Diffstat (limited to 'doc/expr.n')
-rw-r--r--doc/expr.n3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/expr.n b/doc/expr.n
index b76b6a2..2a0af7e 100644
--- a/doc/expr.n
+++ b/doc/expr.n
@@ -126,7 +126,8 @@ applied only to integers.
.TP 20
\fB**\fR
.
-Exponentiation. Valid for any numeric operands.
+Exponentiation. Valid for any numeric operands. The maximum exponent value
+that Tcl can handle if the first number is an integer > 1 is 268435455.
.TP 20
\fB*\0\0/\0\0%\fR
.