summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-18 12:35:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-18 12:35:44 (GMT)
commit185b0d14932f4cc8503e6dd235da5bd90ebc777c (patch)
tree9182e5085918a168d44eed5e3c4e4efb70fa456d /tests/expr.test
parent8844e2789a8e8d854f53069ea852ec5ef726757c (diff)
parent345894cae91f9e72bbbfd6264ab98a2263d9dd1b (diff)
downloadtcl-185b0d14932f4cc8503e6dd235da5bd90ebc777c.zip
tcl-185b0d14932f4cc8503e6dd235da5bd90ebc777c.tar.gz
tcl-185b0d14932f4cc8503e6dd235da5bd90ebc777c.tar.bz2
Merge 8.7
Diffstat (limited to 'tests/expr.test')
-rw-r--r--tests/expr.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/expr.test b/tests/expr.test
index 9add1f1..8d2f668 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -6699,6 +6699,12 @@ test expr-38.12 {abs and -0x0 [Bug 2954959]} {
test expr-38.13 {abs and 0.0 [Bug 2954959]} {
::tcl::mathfunc::abs 1e-324
} 1e-324
+test expr-38.14 {abs and INT64_MIN special-case} {
+ ::tcl::mathfunc::abs -9223372036854775808
+} 9223372036854775808
+test expr-38.15 {abs and INT128_MIN special-case} {
+ ::tcl::mathfunc::abs -170141183460469231731687303715884105728
+} 170141183460469231731687303715884105728
testConstraint testexprlongobj [llength [info commands testexprlongobj]]
testConstraint testexprdoubleobj [llength [info commands testexprdoubleobj]]