summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-11-11 15:49:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-11-11 15:49:13 (GMT)
commit75114d37bf55c424b0a0dbcda90a999e6c483158 (patch)
tree84f2b993aaf7f3794ba1587e8b230d0d59fedca9 /tests
parentbc12daaf3a0b81279eaff2ed62f9dfbd3e055ca9 (diff)
downloadtcl-core-9-0-3.zip
tcl-core-9-0-3.tar.gz
tcl-core-9-0-3.tar.bz2
Fix [8dd2807066] follow-up: two-argument 'max' had the same problemcore-9-0-3
Diffstat (limited to 'tests')
-rw-r--r--tests/expr.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/expr.test b/tests/expr.test
index 1efe403..5405859 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -7460,6 +7460,10 @@ test expr-bug-8dd2807066 {Bug 8dd2807066} {
expr {max(abs(-668336881543038127783364011867))}
} 668336881543038127783364011867
+test expr-bug-8dd2807066-1 {Bug 8dd2807066, more elaborate} {
+ expr {max(abs(-668336881543038127783364011867),0)}
+} 668336881543038127783364011867
+
# Bug e3dcab1d14 TODO: Need to work out a test case that fails
# without tcl_precision, which has been eliminated in 9.0