summaryrefslogtreecommitdiffstats
path: root/Lib/test/decimaltestdata/dsEncode.decTest
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2007-11-23 18:14:50 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2007-11-23 18:14:50 (GMT)
commit9401cbe0e915c443b68b6d0d11ae2acf8bf29d12 (patch)
treeeead049d6edb0795daace5757cc549034f824ec3 /Lib/test/decimaltestdata/dsEncode.decTest
parent72bc54faed8f12dc89ecc989fc7921002db3427f (diff)
downloadcpython-9401cbe0e915c443b68b6d0d11ae2acf8bf29d12.zip
cpython-9401cbe0e915c443b68b6d0d11ae2acf8bf29d12.tar.gz
cpython-9401cbe0e915c443b68b6d0d11ae2acf8bf29d12.tar.bz2
Test cases from Cowlishaw, v2.57. All are pased cleanly.
Diffstat (limited to 'Lib/test/decimaltestdata/dsEncode.decTest')
-rw-r--r--Lib/test/decimaltestdata/dsEncode.decTest5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/decimaltestdata/dsEncode.decTest b/Lib/test/decimaltestdata/dsEncode.decTest
index 185ddc7..7e72d4b 100644
--- a/Lib/test/decimaltestdata/dsEncode.decTest
+++ b/Lib/test/decimaltestdata/dsEncode.decTest
@@ -18,7 +18,7 @@
-- mfc@uk.ibm.com --
------------------------------------------------------------------------
-- [Previously called decimal32.decTest]
-version: 2.56
+version: 2.57
-- This set of tests is for the four-byte concrete representation.
-- Its characteristics are:
@@ -367,3 +367,6 @@ decs785 apply #225001ff -> 999
decs786 apply #225002ff -> 999
decs787 apply #225003ff -> 999
+-- narrowing case
+decs790 apply 2.00E-99 -> #00000100 Subnormal
+decs791 apply #00000100 -> 2.00E-99 Subnormal