diff options
author | dgp <dgp@users.sourceforge.net> | 2011-09-01 17:29:32 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-09-01 17:29:32 (GMT) |
commit | 6587a69f5cb3b51fb3caff4f9107e292dbcbefed (patch) | |
tree | 8a14a70bb10f79c8b764eac9b06de1e7af757fc7 /tests/scan.test | |
parent | 279a2a19474b5ed67d539d10053387c2bdc819f6 (diff) | |
parent | 17706bbc78ed27de8dee78c6ea4c6d3d0762157c (diff) | |
download | tcl-6587a69f5cb3b51fb3caff4f9107e292dbcbefed.zip tcl-6587a69f5cb3b51fb3caff4f9107e292dbcbefed.tar.gz tcl-6587a69f5cb3b51fb3caff4f9107e292dbcbefed.tar.bz2 |
3402540 Corrections to TclParseNumber() to make it reject invalid Nan(Hex).
[scan Inf %g] is portable; remove constraint.
Diffstat (limited to 'tests/scan.test')
-rw-r--r-- | tests/scan.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scan.test b/tests/scan.test index 84f22b4..97ad5eb 100644 --- a/tests/scan.test +++ b/tests/scan.test @@ -753,11 +753,11 @@ testConstraint ieeeFloatingPoint [testIEEE] # scan infinities - not working -test scan-14.1 {infinity} ieeeFloatingPoint { +test scan-14.1 {infinity} { scan Inf %g d set d } Inf -test scan-14.2 {infinity} ieeeFloatingPoint { +test scan-14.2 {infinity} { scan -Inf %g d set d } -Inf |