summaryrefslogtreecommitdiffstats
path: root/Lib/test/decimaltestdata/testall.decTest
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2007-09-13 18:13:15 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2007-09-13 18:13:15 (GMT)
commit353750c405c9099d0be69c6af1d17037b38c4ddf (patch)
tree8b3a0deb454d83c12b3d06365fa3f9c86d75d169 /Lib/test/decimaltestdata/testall.decTest
parentddca9f0823e44dd9c35d38de65417c09521ab5aa (diff)
downloadcpython-353750c405c9099d0be69c6af1d17037b38c4ddf.zip
cpython-353750c405c9099d0be69c6af1d17037b38c4ddf.tar.gz
cpython-353750c405c9099d0be69c6af1d17037b38c4ddf.tar.bz2
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
fully updated to the latests Decimal Specification (v1.66) and the latests test cases (v2.56). Thanks to Mark Dickinson for all his help during this process.
Diffstat (limited to 'Lib/test/decimaltestdata/testall.decTest')
-rw-r--r--Lib/test/decimaltestdata/testall.decTest45
1 files changed, 37 insertions, 8 deletions
diff --git a/Lib/test/decimaltestdata/testall.decTest b/Lib/test/decimaltestdata/testall.decTest
index 8daa0d9..1cbc20e 100644
--- a/Lib/test/decimaltestdata/testall.decTest
+++ b/Lib/test/decimaltestdata/testall.decTest
@@ -1,6 +1,6 @@
------------------------------------------------------------------------
-- testall.decTest -- run all general decimal arithmetic testcases --
--- Copyright (c) IBM Corporation, 1981, 2004. All rights reserved. --
+-- Copyright (c) IBM Corporation, 1981, 2007. All rights reserved. --
------------------------------------------------------------------------
-- Please see the document "General Decimal Arithmetic Testcases" --
-- at http://www2.hursley.ibm.com/decimal for the description of --
@@ -17,41 +17,70 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc@uk.ibm.com --
------------------------------------------------------------------------
-version: 2.39
+version: 2.56
-- core tests (using Extended: 1) --------------------------------------
dectest: base
+
dectest: abs
dectest: add
+dectest: and
dectest: clamp
+dectest: class
dectest: compare
+dectest: comparesig
+dectest: comparetotal
+dectest: comparetotmag
+dectest: copy
+dectest: copyabs
+dectest: copynegate
+dectest: copysign
dectest: divide
dectest: divideint
+dectest: exp
+dectest: fma
dectest: inexact
+dectest: invert
+dectest: ln
+dectest: logb
+dectest: log10
dectest: max
+dectest: maxmag
dectest: min
+dectest: minmag
dectest: minus
dectest: multiply
-dectest: normalize
+dectest: nextminus
+dectest: nextplus
+dectest: nexttoward
+dectest: or
dectest: plus
dectest: power
+dectest: powersqrt
dectest: quantize
dectest: randoms
+dectest: reduce -- [was called normalize]
dectest: remainder
dectest: remaindernear
dectest: rescale -- [obsolete]
+dectest: rotate
dectest: rounding
dectest: samequantum
+dectest: scaleb
+dectest: shift
dectest: squareroot
dectest: subtract
dectest: tointegral
+dectest: tointegralx
dectest: trim
+dectest: xor
--- The next are for the Strawman 4d concrete representations
-dectest: decimal32
-dectest: decimal64
-dectest: decimal128
-
+-- The next are for the Strawman 4d concrete representations and
+-- tests at those sizes [including dsEncode, ddEncode, and dqEncode,
+-- which replace decimal32, decimal64, and decimal128]
+dectest: decSingle
+dectest: decDouble
+dectest: decQuad
-- General 31->33-digit boundary tests
dectest: randombound32