summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2010-10-26 15:05:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2010-10-26 15:05:08 (GMT)
commitb9c2ff53ae874d4250ad4faaf68d0437cdc3d550 (patch)
tree2dd06c7afbc102904336e062acb8514b7fbc78f3
parente0953323b40f4e9ad12387c2e55d2a6bcd552caa (diff)
downloadtcl-b9c2ff53ae874d4250ad4faaf68d0437cdc3d550.zip
tcl-b9c2ff53ae874d4250ad4faaf68d0437cdc3d550.tar.gz
tcl-b9c2ff53ae874d4250ad4faaf68d0437cdc3d550.tar.bz2
Coverage test for portion of ExprSqrtFunc()
-rw-r--r--tests/expr.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/expr.test b/tests/expr.test
index 05fc956..cdda607 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: expr.test,v 1.78 2010/02/21 20:09:38 nijtmans Exp $
+# RCS: @(#) $Id: expr.test,v 1.79 2010/10/26 15:05:08 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -7169,6 +7169,10 @@ test expr-49.1 {Bug 2823282} {
foo 1
} 1
+test expr-50.1 {test sqrt() of bignums with non-Inf answer} {
+ expr {sqrt("1[string repeat 0 616]") == 1e308}
+} 1
+
# cleanup