[Python-checkins] r75286 - in python/trunk/Lib/test: decimaltestdata/abs.decTest decimaltestdata/add.decTest decimaltestdata/and.decTest decimaltestdata/base.decTest decimaltestdata/clamp.decTest decimaltestdata/class.decTest decimaltestdata/compare.decTest decimaltestdata/comparetotal.decTest decimaltestdata/comparetotmag.decTest decimaltestdata/copy.decTest decimaltestdata/copyabs.decTest decimaltestdata/copynegate.decTest decimaltestdata/copysign.decTest decimaltestdata/ddAbs.decTest decimaltestdata/ddAdd.decTest decimaltestdata/ddAnd.decTest decimaltestdata/ddBase.decTest decimaltestdata/ddCanonical.decTest decimaltestdata/ddClass.decTest decimaltestdata/ddCompare.decTest decimaltestdata/ddCompareSig.decTest decimaltestdata/ddCompareTotal.decTest decimaltestdata/ddCompareTotalMag.decTest decimaltestdata/ddCopy.decTest decimaltestdata/ddCopyAbs.decTest decimaltestdata/ddCopyNegate.decTest decimaltestdata/ddCopySign.decTest decimaltestdata/ddDivide.decTest decimaltestdata/ddDivideInt.decTest decimaltestdata/ddEncode.decTest decimaltestdata/ddFMA.decTest decimaltestdata/ddInvert.decTest decimaltestdata/ddLogB.decTest decimaltestdata/ddMax.decTest decimaltestdata/ddMaxMag.decTest decimaltestdata/ddMin.decTest decimaltestdata/ddMinMag.decTest decimaltestdata/ddMinus.decTest decimaltestdata/ddMultiply.decTest decimaltestdata/ddNextMinus.decTest decimaltestdata/ddNextPlus.decTest decimaltestdata/ddNextToward.decTest decimaltestdata/ddOr.decTest decimaltestdata/ddPlus.decTest decimaltestdata/ddQuantize.decTest decimaltestdata/ddReduce.decTest decimaltestdata/ddRemainder.decTest decimaltestdata/ddRemainderNear.decTest decimaltestdata/ddRotate.decTest decimaltestdata/ddSameQuantum.decTest decimaltestdata/ddScaleB.decTest decimaltestdata/ddShift.decTest decimaltestdata/ddSubtract.decTest decimaltestdata/ddToIntegral.decTest decimaltestdata/ddXor.decTest decimaltestdata/decDouble.decTest decimaltestdata/decQuad.decTest decimaltestdata/decSingle.decTest decimaltestdata/divide.decTest decimaltestdata/divideint.decTest decimaltestdata/dqAbs.decTest decimaltestdata/dqAdd.decTest decimaltestdata/dqAnd.decTest decimaltestdata/dqBase.decTest decimaltestdata/dqCanonical.decTest decimaltestdata/dqClass.decTest decimaltestdata/dqCompare.decTest decimaltestdata/dqCompareSig.decTest decimaltestdata/dqCompareTotal.decTest decimaltestdata/dqCompareTotalMag.decTest decimaltestdata/dqCopy.decTest decimaltestdata/dqCopyAbs.decTest decimaltestdata/dqCopyNegate.decTest decimaltestdata/dqCopySign.decTest decimaltestdata/dqDivide.decTest decimaltestdata/dqDivideInt.decTest decimaltestdata/dqEncode.decTest decimaltestdata/dqFMA.decTest decimaltestdata/dqInvert.decTest decimaltestdata/dqLogB.decTest decimaltestdata/dqMax.decTest decimaltestdata/dqMaxMag.decTest decimaltestdata/dqMin.decTest decimaltestdata/dqMinMag.decTest decimaltestdata/dqMinus.decTest decimaltestdata/dqMultiply.decTest decimaltestdata/dqNextMinus.decTest decimaltestdata/dqNextPlus.decTest decimaltestdata/dqNextToward.decTest decimaltestdata/dqOr.decTest decimaltestdata/dqPlus.decTest decimaltestdata/dqQuantize.decTest decimaltestdata/dqReduce.decTest decimaltestdata/dqRemainder.decTest decimaltestdata/dqRemainderNear.decTest decimaltestdata/dqRotate.decTest decimaltestdata/dqSameQuantum.decTest decimaltestdata/dqScaleB.decTest decimaltestdata/dqShift.decTest decimaltestdata/dqSubtract.decTest decimaltestdata/dqToIntegral.decTest decimaltestdata/dqXor.decTest decimaltestdata/dsBase.decTest decimaltestdata/dsEncode.decTest decimaltestdata/exp.decTest decimaltestdata/fma.decTest decimaltestdata/inexact.decTest decimaltestdata/invert.decTest decimaltestdata/ln.decTest decimaltestdata/log10.decTest decimaltestdata/logb.decTest decimaltestdata/max.decTest decimaltestdata/maxmag.decTest decimaltestdata/min.decTest decimaltestdata/minmag.decTest decimaltestdata/minus.decTest decimaltestdata/multiply.decTest decimaltestdata/nextminus.decTest decimaltestdata/nextplus.decTest decimaltestdata/nexttoward.decTest decimaltestdata/or.decTest decimaltestdata/plus.decTest decimaltestdata/power.decTest decimaltestdata/powersqrt.decTest decimaltestdata/quantize.decTest decimaltestdata/randomBound32.decTest decimaltestdata/randoms.decTest decimaltestdata/reduce.decTest decimaltestdata/remainder.decTest decimaltestdata/remainderNear.decTest decimaltestdata/rescale.decTest decimaltestdata/rotate.decTest decimaltestdata/rounding.decTest decimaltestdata/samequantum.decTest decimaltestdata/scaleb.decTest decimaltestdata/shift.decTest decimaltestdata/squareroot.decTest decimaltestdata/subtract.decTest decimaltestdata/testall.decTest decimaltestdata/tointegral.decTest decimaltestdata/tointegralx.decTest decimaltestdata/xor.decTest test_decimal.py
mark.dickinson
python-checkins at python.org
Thu Oct 8 18:28:41 CEST 2009
Author: mark.dickinson
Date: Thu Oct 8 18:28:39 2009
New Revision: 75286
Log:
Update decimal test data to the most recent set from Mike Cowlishaw.
Modified:
python/trunk/Lib/test/decimaltestdata/abs.decTest
python/trunk/Lib/test/decimaltestdata/add.decTest
python/trunk/Lib/test/decimaltestdata/and.decTest
python/trunk/Lib/test/decimaltestdata/base.decTest
python/trunk/Lib/test/decimaltestdata/clamp.decTest
python/trunk/Lib/test/decimaltestdata/class.decTest
python/trunk/Lib/test/decimaltestdata/compare.decTest
python/trunk/Lib/test/decimaltestdata/comparetotal.decTest
python/trunk/Lib/test/decimaltestdata/comparetotmag.decTest
python/trunk/Lib/test/decimaltestdata/copy.decTest
python/trunk/Lib/test/decimaltestdata/copyabs.decTest
python/trunk/Lib/test/decimaltestdata/copynegate.decTest
python/trunk/Lib/test/decimaltestdata/copysign.decTest
python/trunk/Lib/test/decimaltestdata/ddAbs.decTest
python/trunk/Lib/test/decimaltestdata/ddAdd.decTest
python/trunk/Lib/test/decimaltestdata/ddAnd.decTest
python/trunk/Lib/test/decimaltestdata/ddBase.decTest
python/trunk/Lib/test/decimaltestdata/ddCanonical.decTest
python/trunk/Lib/test/decimaltestdata/ddClass.decTest
python/trunk/Lib/test/decimaltestdata/ddCompare.decTest
python/trunk/Lib/test/decimaltestdata/ddCompareSig.decTest
python/trunk/Lib/test/decimaltestdata/ddCompareTotal.decTest
python/trunk/Lib/test/decimaltestdata/ddCompareTotalMag.decTest
python/trunk/Lib/test/decimaltestdata/ddCopy.decTest
python/trunk/Lib/test/decimaltestdata/ddCopyAbs.decTest
python/trunk/Lib/test/decimaltestdata/ddCopyNegate.decTest
python/trunk/Lib/test/decimaltestdata/ddCopySign.decTest
python/trunk/Lib/test/decimaltestdata/ddDivide.decTest
python/trunk/Lib/test/decimaltestdata/ddDivideInt.decTest
python/trunk/Lib/test/decimaltestdata/ddEncode.decTest
python/trunk/Lib/test/decimaltestdata/ddFMA.decTest
python/trunk/Lib/test/decimaltestdata/ddInvert.decTest
python/trunk/Lib/test/decimaltestdata/ddLogB.decTest
python/trunk/Lib/test/decimaltestdata/ddMax.decTest
python/trunk/Lib/test/decimaltestdata/ddMaxMag.decTest
python/trunk/Lib/test/decimaltestdata/ddMin.decTest
python/trunk/Lib/test/decimaltestdata/ddMinMag.decTest
python/trunk/Lib/test/decimaltestdata/ddMinus.decTest
python/trunk/Lib/test/decimaltestdata/ddMultiply.decTest
python/trunk/Lib/test/decimaltestdata/ddNextMinus.decTest
python/trunk/Lib/test/decimaltestdata/ddNextPlus.decTest
python/trunk/Lib/test/decimaltestdata/ddNextToward.decTest
python/trunk/Lib/test/decimaltestdata/ddOr.decTest
python/trunk/Lib/test/decimaltestdata/ddPlus.decTest
python/trunk/Lib/test/decimaltestdata/ddQuantize.decTest
python/trunk/Lib/test/decimaltestdata/ddReduce.decTest
python/trunk/Lib/test/decimaltestdata/ddRemainder.decTest
python/trunk/Lib/test/decimaltestdata/ddRemainderNear.decTest
python/trunk/Lib/test/decimaltestdata/ddRotate.decTest
python/trunk/Lib/test/decimaltestdata/ddSameQuantum.decTest
python/trunk/Lib/test/decimaltestdata/ddScaleB.decTest
python/trunk/Lib/test/decimaltestdata/ddShift.decTest
python/trunk/Lib/test/decimaltestdata/ddSubtract.decTest
python/trunk/Lib/test/decimaltestdata/ddToIntegral.decTest
python/trunk/Lib/test/decimaltestdata/ddXor.decTest
python/trunk/Lib/test/decimaltestdata/decDouble.decTest
python/trunk/Lib/test/decimaltestdata/decQuad.decTest
python/trunk/Lib/test/decimaltestdata/decSingle.decTest
python/trunk/Lib/test/decimaltestdata/divide.decTest
python/trunk/Lib/test/decimaltestdata/divideint.decTest
python/trunk/Lib/test/decimaltestdata/dqAbs.decTest
python/trunk/Lib/test/decimaltestdata/dqAdd.decTest
python/trunk/Lib/test/decimaltestdata/dqAnd.decTest
python/trunk/Lib/test/decimaltestdata/dqBase.decTest
python/trunk/Lib/test/decimaltestdata/dqCanonical.decTest
python/trunk/Lib/test/decimaltestdata/dqClass.decTest
python/trunk/Lib/test/decimaltestdata/dqCompare.decTest
python/trunk/Lib/test/decimaltestdata/dqCompareSig.decTest
python/trunk/Lib/test/decimaltestdata/dqCompareTotal.decTest
python/trunk/Lib/test/decimaltestdata/dqCompareTotalMag.decTest
python/trunk/Lib/test/decimaltestdata/dqCopy.decTest
python/trunk/Lib/test/decimaltestdata/dqCopyAbs.decTest
python/trunk/Lib/test/decimaltestdata/dqCopyNegate.decTest
python/trunk/Lib/test/decimaltestdata/dqCopySign.decTest
python/trunk/Lib/test/decimaltestdata/dqDivide.decTest
python/trunk/Lib/test/decimaltestdata/dqDivideInt.decTest
python/trunk/Lib/test/decimaltestdata/dqEncode.decTest
python/trunk/Lib/test/decimaltestdata/dqFMA.decTest
python/trunk/Lib/test/decimaltestdata/dqInvert.decTest
python/trunk/Lib/test/decimaltestdata/dqLogB.decTest
python/trunk/Lib/test/decimaltestdata/dqMax.decTest
python/trunk/Lib/test/decimaltestdata/dqMaxMag.decTest
python/trunk/Lib/test/decimaltestdata/dqMin.decTest
python/trunk/Lib/test/decimaltestdata/dqMinMag.decTest
python/trunk/Lib/test/decimaltestdata/dqMinus.decTest
python/trunk/Lib/test/decimaltestdata/dqMultiply.decTest
python/trunk/Lib/test/decimaltestdata/dqNextMinus.decTest
python/trunk/Lib/test/decimaltestdata/dqNextPlus.decTest
python/trunk/Lib/test/decimaltestdata/dqNextToward.decTest
python/trunk/Lib/test/decimaltestdata/dqOr.decTest
python/trunk/Lib/test/decimaltestdata/dqPlus.decTest
python/trunk/Lib/test/decimaltestdata/dqQuantize.decTest
python/trunk/Lib/test/decimaltestdata/dqReduce.decTest
python/trunk/Lib/test/decimaltestdata/dqRemainder.decTest
python/trunk/Lib/test/decimaltestdata/dqRemainderNear.decTest
python/trunk/Lib/test/decimaltestdata/dqRotate.decTest
python/trunk/Lib/test/decimaltestdata/dqSameQuantum.decTest
python/trunk/Lib/test/decimaltestdata/dqScaleB.decTest
python/trunk/Lib/test/decimaltestdata/dqShift.decTest
python/trunk/Lib/test/decimaltestdata/dqSubtract.decTest
python/trunk/Lib/test/decimaltestdata/dqToIntegral.decTest
python/trunk/Lib/test/decimaltestdata/dqXor.decTest
python/trunk/Lib/test/decimaltestdata/dsBase.decTest
python/trunk/Lib/test/decimaltestdata/dsEncode.decTest
python/trunk/Lib/test/decimaltestdata/exp.decTest
python/trunk/Lib/test/decimaltestdata/fma.decTest
python/trunk/Lib/test/decimaltestdata/inexact.decTest
python/trunk/Lib/test/decimaltestdata/invert.decTest
python/trunk/Lib/test/decimaltestdata/ln.decTest
python/trunk/Lib/test/decimaltestdata/log10.decTest
python/trunk/Lib/test/decimaltestdata/logb.decTest
python/trunk/Lib/test/decimaltestdata/max.decTest
python/trunk/Lib/test/decimaltestdata/maxmag.decTest
python/trunk/Lib/test/decimaltestdata/min.decTest
python/trunk/Lib/test/decimaltestdata/minmag.decTest
python/trunk/Lib/test/decimaltestdata/minus.decTest
python/trunk/Lib/test/decimaltestdata/multiply.decTest
python/trunk/Lib/test/decimaltestdata/nextminus.decTest
python/trunk/Lib/test/decimaltestdata/nextplus.decTest
python/trunk/Lib/test/decimaltestdata/nexttoward.decTest
python/trunk/Lib/test/decimaltestdata/or.decTest
python/trunk/Lib/test/decimaltestdata/plus.decTest
python/trunk/Lib/test/decimaltestdata/power.decTest
python/trunk/Lib/test/decimaltestdata/powersqrt.decTest
python/trunk/Lib/test/decimaltestdata/quantize.decTest
python/trunk/Lib/test/decimaltestdata/randomBound32.decTest
python/trunk/Lib/test/decimaltestdata/randoms.decTest
python/trunk/Lib/test/decimaltestdata/reduce.decTest
python/trunk/Lib/test/decimaltestdata/remainder.decTest
python/trunk/Lib/test/decimaltestdata/remainderNear.decTest
python/trunk/Lib/test/decimaltestdata/rescale.decTest
python/trunk/Lib/test/decimaltestdata/rotate.decTest
python/trunk/Lib/test/decimaltestdata/rounding.decTest
python/trunk/Lib/test/decimaltestdata/samequantum.decTest
python/trunk/Lib/test/decimaltestdata/scaleb.decTest
python/trunk/Lib/test/decimaltestdata/shift.decTest
python/trunk/Lib/test/decimaltestdata/squareroot.decTest
python/trunk/Lib/test/decimaltestdata/subtract.decTest
python/trunk/Lib/test/decimaltestdata/testall.decTest
python/trunk/Lib/test/decimaltestdata/tointegral.decTest
python/trunk/Lib/test/decimaltestdata/tointegralx.decTest
python/trunk/Lib/test/decimaltestdata/xor.decTest
python/trunk/Lib/test/test_decimal.py
Modified: python/trunk/Lib/test/decimaltestdata/abs.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/abs.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/abs.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests primarily tests the existence of the operator.
-- Additon, subtraction, rounding, and more overflows are tested
Modified: python/trunk/Lib/test/decimaltestdata/add.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/add.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/add.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 9
rounding: half_up
Modified: python/trunk/Lib/test/decimaltestdata/and.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/and.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/and.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/base.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/base.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/base.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
-- This file tests base conversions from string to a decimal number
Modified: python/trunk/Lib/test/decimaltestdata/clamp.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/clamp.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/clamp.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests uses the same limits as the 8-byte concrete
-- representation, but applies clamping without using format-specific
Modified: python/trunk/Lib/test/decimaltestdata/class.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/class.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/class.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- [New 2006.11.27]
Modified: python/trunk/Lib/test/decimaltestdata/compare.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/compare.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/compare.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/comparetotal.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/comparetotal.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/comparetotal.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/comparetotmag.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/comparetotmag.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/comparetotmag.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that it cannot be assumed that add/subtract tests cover paths
-- for this operation adequately, here, because the code might be
Modified: python/trunk/Lib/test/decimaltestdata/copy.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/copy.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/copy.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/copyabs.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/copyabs.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/copyabs.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/copynegate.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/copynegate.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/copynegate.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/copysign.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/copysign.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/copysign.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/ddAbs.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddAbs.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddAbs.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddAdd.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddAdd.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddAdd.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests are for decDoubles only; all arguments are
-- representable in a decDouble
Modified: python/trunk/Lib/test/decimaltestdata/ddAnd.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddAnd.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddAnd.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddBase.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddBase.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddBase.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This file tests base conversions from string to a decimal number
-- and back to a string (in Scientific form)
Modified: python/trunk/Lib/test/decimaltestdata/ddCanonical.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddCanonical.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddCanonical.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This file tests that copy operations leave uncanonical operands
-- unchanged, and vice versa
Modified: python/trunk/Lib/test/decimaltestdata/ddClass.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddClass.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddClass.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- [New 2006.11.27]
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddCompare.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddCompare.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddCompare.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/ddCompareSig.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddCompareSig.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddCompareSig.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/ddCompareTotal.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddCompareTotal.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddCompareTotal.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/ddCompareTotalMag.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddCompareTotalMag.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddCompareTotalMag.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/ddCopy.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddCopy.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddCopy.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddCopyAbs.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddCopyAbs.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddCopyAbs.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddCopyNegate.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddCopyNegate.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddCopyNegate.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddCopySign.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddCopySign.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddCopySign.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddDivide.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddDivide.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddDivide.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
@@ -160,7 +160,7 @@
dddiv222 divide -391 597 -> -0.6549413735343384 Inexact Rounded
dddiv223 divide -391 -597 -> 0.6549413735343384 Inexact Rounded
--- test some cases that are close to exponent overflow
+-- test some cases that are close to exponent overflow, some with coefficient padding
dddiv270 divide 1 1e384 -> 1E-384 Subnormal
dddiv271 divide 1 0.9e384 -> 1.11111111111111E-384 Rounded Inexact Subnormal Underflow
dddiv272 divide 1 0.99e384 -> 1.01010101010101E-384 Rounded Inexact Subnormal Underflow
@@ -168,7 +168,16 @@
dddiv274 divide 9e384 1 -> 9.000000000000000E+384 Clamped
dddiv275 divide 9.9e384 1 -> 9.900000000000000E+384 Clamped
dddiv276 divide 9.99e384 1 -> 9.990000000000000E+384 Clamped
-dddiv277 divide 9.999999999999999e384 1 -> 9.999999999999999E+384
+dddiv277 divide 9.9999999999999e384 1 -> 9.999999999999900E+384 Clamped
+dddiv278 divide 9.99999999999999e384 1 -> 9.999999999999990E+384 Clamped
+dddiv279 divide 9.999999999999999e384 1 -> 9.999999999999999E+384
+
+dddiv285 divide 9.9e384 1.1 -> 9.000000000000000E+384 Clamped
+dddiv286 divide 9.99e384 1.1 -> 9.081818181818182E+384 Inexact Rounded
+dddiv287 divide 9.9999999999999e384 1.1 -> 9.090909090909000E+384 Clamped
+dddiv288 divide 9.99999999999999e384 1.1 -> 9.090909090909082E+384 Inexact Rounded
+dddiv289 divide 9.999999999999999e384 1.1 -> 9.090909090909090E+384 Clamped
+
-- Divide into 0 tests
dddiv301 divide 0 7 -> 0
Modified: python/trunk/Lib/test/decimaltestdata/ddDivideInt.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddDivideInt.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddDivideInt.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddEncode.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddEncode.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddEncode.decTest Thu Oct 8 18:28:39 2009
@@ -18,7 +18,7 @@
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-- [Previously called decimal64.decTest]
-version: 2.58
+version: 2.59
-- This set of tests is for the eight-byte concrete representation.
-- Its characteristics are:
Modified: python/trunk/Lib/test/decimaltestdata/ddFMA.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddFMA.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddFMA.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddInvert.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddInvert.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddInvert.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddLogB.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddLogB.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddLogB.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddMax.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddMax.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddMax.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/ddMaxMag.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddMaxMag.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddMaxMag.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/ddMin.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddMin.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddMin.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/ddMinMag.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddMinMag.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddMinMag.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/ddMinus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddMinus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddMinus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddMultiply.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddMultiply.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddMultiply.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests are for decDoubles only; all arguments are
-- representable in a decDouble
Modified: python/trunk/Lib/test/decimaltestdata/ddNextMinus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddNextMinus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddNextMinus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddNextPlus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddNextPlus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddNextPlus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddNextToward.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddNextToward.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddNextToward.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddOr.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddOr.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddOr.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddPlus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddPlus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddPlus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddQuantize.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddQuantize.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddQuantize.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Most of the tests here assume a "regular pattern", where the
-- sign and coefficient are +1.
Modified: python/trunk/Lib/test/decimaltestdata/ddReduce.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddReduce.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddReduce.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddRemainder.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddRemainder.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddRemainder.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddRemainderNear.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddRemainderNear.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddRemainderNear.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddRotate.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddRotate.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddRotate.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddSameQuantum.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddSameQuantum.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddSameQuantum.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decDoubles.
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/ddScaleB.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddScaleB.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddScaleB.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddShift.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddShift.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddShift.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/ddSubtract.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddSubtract.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddSubtract.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests are for decDoubles only; all arguments are
-- representable in a decDouble
Modified: python/trunk/Lib/test/decimaltestdata/ddToIntegral.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddToIntegral.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddToIntegral.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests tests the extended specification 'round-to-integral
-- value-exact' operations (from IEEE 854, later modified in 754r).
Modified: python/trunk/Lib/test/decimaltestdata/ddXor.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ddXor.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ddXor.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
precision: 16
maxExponent: 384
Modified: python/trunk/Lib/test/decimaltestdata/decDouble.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/decDouble.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/decDouble.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- decDouble tests
dectest: ddAbs
Modified: python/trunk/Lib/test/decimaltestdata/decQuad.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/decQuad.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/decQuad.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- decQuad tests
dectest: dqAbs
Modified: python/trunk/Lib/test/decimaltestdata/decSingle.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/decSingle.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/decSingle.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- decSingle tests
dectest: dsBase
Modified: python/trunk/Lib/test/decimaltestdata/divide.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/divide.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/divide.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/divideint.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/divideint.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/divideint.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/dqAbs.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqAbs.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqAbs.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqAdd.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqAdd.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqAdd.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests are for decQuads only; all arguments are
-- representable in a decQuad
@@ -637,7 +637,7 @@
dqadd7732 add 0 0 -> 0
dqadd7733 add 0 -0 -> 0
dqadd7734 add -0 0 -> 0
-dqadd7735 add -0 -0 -> -0 -- IEEE 854 special case
+dqadd7735 add -0 -0 -> -0 -- IEEE 754 special case
dqadd7736 add 1 -1 -> 0
dqadd7737 add -1 -1 -> -2
Modified: python/trunk/Lib/test/decimaltestdata/dqAnd.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqAnd.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqAnd.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqBase.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqBase.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqBase.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This file tests base conversions from string to a decimal number
-- and back to a string (in Scientific form)
Modified: python/trunk/Lib/test/decimaltestdata/dqCanonical.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqCanonical.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqCanonical.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This file tests that copy operations leave uncanonical operands
-- unchanged, and vice versa
Modified: python/trunk/Lib/test/decimaltestdata/dqClass.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqClass.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqClass.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- [New 2006.11.27]
Modified: python/trunk/Lib/test/decimaltestdata/dqCompare.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqCompare.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqCompare.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/dqCompareSig.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqCompareSig.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqCompareSig.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/dqCompareTotal.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqCompareTotal.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqCompareTotal.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/dqCompareTotalMag.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqCompareTotalMag.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqCompareTotalMag.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Note that we cannot assume add/subtract tests cover paths adequately,
-- here, because the code might be quite different (comparison cannot
Modified: python/trunk/Lib/test/decimaltestdata/dqCopy.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqCopy.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqCopy.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqCopyAbs.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqCopyAbs.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqCopyAbs.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqCopyNegate.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqCopyNegate.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqCopyNegate.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqCopySign.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqCopySign.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqCopySign.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqDivide.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqDivide.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqDivide.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqDivideInt.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqDivideInt.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqDivideInt.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqEncode.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqEncode.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqEncode.decTest Thu Oct 8 18:28:39 2009
@@ -18,7 +18,7 @@
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-- [Previously called decimal128.decTest]
-version: 2.58
+version: 2.59
-- This set of tests is for the sixteen-byte concrete representation.
-- Its characteristics are:
Modified: python/trunk/Lib/test/decimaltestdata/dqFMA.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqFMA.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqFMA.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqInvert.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqInvert.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqInvert.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqLogB.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqLogB.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqLogB.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqMax.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqMax.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqMax.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/dqMaxMag.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqMaxMag.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqMaxMag.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/dqMin.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqMin.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqMin.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/dqMinMag.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqMinMag.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqMinMag.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/dqMinus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqMinus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqMinus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqMultiply.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqMultiply.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqMultiply.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests are for decQuads only; all arguments are
-- representable in a decQuad
Modified: python/trunk/Lib/test/decimaltestdata/dqNextMinus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqNextMinus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqNextMinus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqNextPlus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqNextPlus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqNextPlus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqNextToward.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqNextToward.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqNextToward.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqOr.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqOr.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqOr.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqPlus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqPlus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqPlus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqQuantize.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqQuantize.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqQuantize.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Most of the tests here assume a "regular pattern", where the
-- sign and coefficient are +1.
@@ -357,8 +357,6 @@
rounding: down
dqqua389 quantize 112233445566778899123456735236450.6 1e-2 -> NaN Invalid_operation
--- ? should that one instead have been:
--- dqqua389 quantize 112233445566778899123456735236450.6 1e-2 -> NaN Invalid_operation
rounding: half_up
-- and a few more from e-mail discussions
Modified: python/trunk/Lib/test/decimaltestdata/dqReduce.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqReduce.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqReduce.decTest Thu Oct 8 18:28:39 2009
@@ -18,7 +18,7 @@
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqRemainder.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqRemainder.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqRemainder.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqRemainderNear.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqRemainderNear.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqRemainderNear.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqRotate.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqRotate.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqRotate.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqSameQuantum.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqSameQuantum.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqSameQuantum.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- All operands and results are decQuads.
extended: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqScaleB.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqScaleB.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqScaleB.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqShift.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqShift.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqShift.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dqSubtract.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqSubtract.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqSubtract.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests are for decQuads only; all arguments are
-- representable in a decQuad
Modified: python/trunk/Lib/test/decimaltestdata/dqToIntegral.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqToIntegral.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqToIntegral.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests tests the extended specification 'round-to-integral
-- value-exact' operations (from IEEE 854, later modified in 754r).
Modified: python/trunk/Lib/test/decimaltestdata/dqXor.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dqXor.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dqXor.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
clamp: 1
Modified: python/trunk/Lib/test/decimaltestdata/dsBase.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dsBase.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dsBase.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This file tests base conversions from string to a decimal number
-- and back to a string (in Scientific form)
Modified: python/trunk/Lib/test/decimaltestdata/dsEncode.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/dsEncode.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/dsEncode.decTest Thu Oct 8 18:28:39 2009
@@ -18,7 +18,7 @@
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-- [Previously called decimal32.decTest]
-version: 2.58
+version: 2.59
-- This set of tests is for the four-byte concrete representation.
-- Its characteristics are:
Modified: python/trunk/Lib/test/decimaltestdata/exp.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/exp.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/exp.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Tests of the exponential funtion. Currently all testcases here
-- show results which are correctly rounded (within <= 0.5 ulp).
Modified: python/trunk/Lib/test/decimaltestdata/fma.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/fma.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/fma.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/inexact.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/inexact.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/inexact.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/invert.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/invert.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/invert.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/ln.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/ln.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/ln.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 16
Modified: python/trunk/Lib/test/decimaltestdata/log10.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/log10.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/log10.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This emphasises the testing of notable cases, as they will often
-- have unusual paths (especially the 10**n results).
Modified: python/trunk/Lib/test/decimaltestdata/logb.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/logb.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/logb.decTest Thu Oct 8 18:28:39 2009
@@ -1,6 +1,6 @@
------------------------------------------------------------------------
-- logb.decTest -- return integral adjusted exponent as per 754r --
--- Copyright (c) IBM Corporation, 2005, 2008. All rights reserved. --
+-- Copyright (c) IBM Corporation, 2005, 2009. All rights reserved. --
------------------------------------------------------------------------
-- Please see the document "General Decimal Arithmetic Testcases" --
-- at http://www2.hursley.ibm.com/decimal for the description of --
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This emphasises the testing of notable cases, as they will often
-- have unusual paths (especially the 10**n results).
@@ -143,7 +143,33 @@
logbx1419 logb 1000E2 -> 5
logbx1420 logb 10000E2 -> 6
+-- inexacts
+precision: 2
+logbx1500 logb 10000E2 -> 6
+logbx1501 logb 1E+99 -> 99
+logbx1502 logb 1E-99 -> -99
+logbx1503 logb 1E+100 -> 1.0E+2 Rounded
+logbx1504 logb 1E+999 -> 1.0E+3 Inexact Rounded
+logbx1505 logb 1E-100 -> -1.0E+2 Rounded
+logbx1506 logb 1E-999 -> -1.0E+3 Inexact Rounded
+logbx1507 logb 1E-1111 -> -1.1E+3 Inexact Rounded
+logbx1508 logb 1E-3333 -> -3.3E+3 Inexact Rounded
+logbx1509 logb 1E-6666 -> -6.7E+3 Inexact Rounded
+logbx1510 logb 1E+999999999 -> 1.0E+9 Inexact Rounded
+logbx1511 logb 1E-999999999 -> -1.0E+9 Inexact Rounded
+precision: 1
+logbx1517 logb 1E-1111 -> -1E+3 Inexact Rounded
+logbx1518 logb 1E-3333 -> -3E+3 Inexact Rounded
+logbx1519 logb 1E-6666 -> -7E+3 Inexact Rounded
+precision: 8
+logbx1520 logb 1E+999999999 -> 1.0000000E+9 Inexact Rounded
+logbx1521 logb 1E-999999999 -> -1.0000000E+9 Inexact Rounded
+precision: 9
+logbx1523 logb 1E+999999999 -> 999999999
+logbx1524 logb 1E-999999999 -> -999999999
+
-- special values
+precision: 9
logbx820 logb Infinity -> Infinity
logbx821 logb -Infinity -> Infinity
logbx822 logb 0 -> -Infinity Division_by_zero
Modified: python/trunk/Lib/test/decimaltestdata/max.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/max.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/max.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/maxmag.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/maxmag.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/maxmag.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/min.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/min.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/min.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/minmag.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/minmag.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/minmag.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- we assume that base comparison is tested in compare.decTest, so
-- these mainly cover special cases and rounding
Modified: python/trunk/Lib/test/decimaltestdata/minus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/minus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/minus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests primarily tests the existence of the operator.
-- Subtraction, rounding, and more overflows are tested elsewhere.
Modified: python/trunk/Lib/test/decimaltestdata/multiply.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/multiply.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/multiply.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/nextminus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/nextminus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/nextminus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/nextplus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/nextplus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/nextplus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/nexttoward.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/nexttoward.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/nexttoward.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/or.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/or.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/or.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/plus.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/plus.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/plus.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests primarily tests the existence of the operator.
-- Addition and rounding, and most overflows, are tested elsewhere.
Modified: python/trunk/Lib/test/decimaltestdata/power.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/power.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/power.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- In addition to the power operator testcases here, see also the file
-- powersqrt.decTest which includes all the tests from
Modified: python/trunk/Lib/test/decimaltestdata/powersqrt.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/powersqrt.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/powersqrt.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- These testcases are taken from squareroot.decTest but are
-- evaluated using the power operator. The differences in results
Modified: python/trunk/Lib/test/decimaltestdata/quantize.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/quantize.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/quantize.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- Most of the tests here assume a "regular pattern", where the
-- sign and coefficient are +1.
Modified: python/trunk/Lib/test/decimaltestdata/randomBound32.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/randomBound32.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/randomBound32.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- These testcases test calculations at precisions 31, 32, and 33, to
-- exercise the boundaries around 2**5
Modified: python/trunk/Lib/test/decimaltestdata/randoms.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/randoms.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/randoms.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
maxexponent: 999999999
Modified: python/trunk/Lib/test/decimaltestdata/reduce.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/reduce.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/reduce.decTest Thu Oct 8 18:28:39 2009
@@ -19,7 +19,7 @@
------------------------------------------------------------------------
-- [This used to be called normalize.]
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/remainder.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/remainder.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/remainder.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/remainderNear.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/remainderNear.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/remainderNear.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/rescale.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/rescale.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/rescale.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- [obsolete] Quantize.decTest has the improved version
Modified: python/trunk/Lib/test/decimaltestdata/rotate.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/rotate.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/rotate.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/rounding.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/rounding.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/rounding.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- These tests require that implementations take account of residues in
-- order to get correct results for some rounding modes. Rather than
Modified: python/trunk/Lib/test/decimaltestdata/samequantum.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/samequantum.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/samequantum.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/scaleb.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/scaleb.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/scaleb.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
@@ -198,3 +198,12 @@
scbx161 scaleb -9.99999999E+999 -1 -> -9.99999999E+998
scbx162 scaleb -9E+999 +1 -> -Infinity Overflow Inexact Rounded
scbx163 scaleb -1E+999 +1 -> -Infinity Overflow Inexact Rounded
+
+-- Krah examples
+precision: 34
+maxExponent: 999999999
+minExponent: -999999999
+-- integer overflow in 3.61 or earlier
+scbx164 scaleb 1E-999999999 -1200000000 -> NaN Invalid_operation
+-- out of range
+scbx165 scaleb -1E-999999999 +1200000000 -> NaN Invalid_operation
Modified: python/trunk/Lib/test/decimaltestdata/shift.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/shift.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/shift.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/squareroot.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/squareroot.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/squareroot.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
@@ -3812,6 +3812,16 @@
clamp: 1
sqtx9045 squareroot 1 -> 1.00000 Clamped
+-- other
+maxexponent: 999
+minexponent: -999
+precision: 16
+sqtx9046 squareroot 10 -> 3.162277660168379 inexact rounded
+sqtx9047 squareroot 10E-1 -> 1.0
+sqtx9048 squareroot 10E-2 -> 0.3162277660168379 inexact rounded
+sqtx9049 squareroot 10E-3 -> 0.10
+
+
-- High-precision exact and inexact
maxexponent: 999
minexponent: -999
Modified: python/trunk/Lib/test/decimaltestdata/subtract.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/subtract.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/subtract.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/decimaltestdata/testall.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/testall.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/testall.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- core tests (using Extended: 1) --------------------------------------
dectest: base
Modified: python/trunk/Lib/test/decimaltestdata/tointegral.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/tointegral.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/tointegral.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests tests the extended specification 'round-to-integral
-- value' operation (from IEEE 854, later modified in 754r).
Modified: python/trunk/Lib/test/decimaltestdata/tointegralx.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/tointegralx.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/tointegralx.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
-- This set of tests tests the extended specification 'round-to-integral
-- value' operation (from IEEE 854, later modified in 754r).
Modified: python/trunk/Lib/test/decimaltestdata/xor.decTest
==============================================================================
--- python/trunk/Lib/test/decimaltestdata/xor.decTest (original)
+++ python/trunk/Lib/test/decimaltestdata/xor.decTest Thu Oct 8 18:28:39 2009
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc at uk.ibm.com --
------------------------------------------------------------------------
-version: 2.58
+version: 2.59
extended: 1
precision: 9
Modified: python/trunk/Lib/test/test_decimal.py
==============================================================================
--- python/trunk/Lib/test/test_decimal.py (original)
+++ python/trunk/Lib/test/test_decimal.py Thu Oct 8 18:28:39 2009
@@ -63,6 +63,13 @@
skip_expected = not os.path.isdir(directory)
+# list of individual .decTest test ids that correspond to tests that
+# we're skipping for one reason or another.
+skipped_test_ids = [
+ 'scbx164', # skipping apparently implementation-specific scaleb
+ 'scbx165', # tests, pending clarification of scaleb rules.
+]
+
# Make sure it actually raises errors when not expected and caught in flags
# Slower, since it runs some things several times.
EXTENDEDERRORTEST = False
@@ -262,6 +269,10 @@
val = val.replace("'", '').replace('"', '')
val = val.replace('SingleQuote', "'").replace('DoubleQuote', '"')
return val
+
+ if id in skipped_test_ids:
+ return
+
fname = nameAdapter.get(funct, funct)
if fname == 'rescale':
return
More information about the Python-checkins
mailing list