Index: Lib/test/decimaltestdata/rounding.decTest =================================================================== --- Lib/test/decimaltestdata/rounding.decTest (revision 75274) +++ Lib/test/decimaltestdata/rounding.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/decDouble.decTest =================================================================== --- Lib/test/decimaltestdata/decDouble.decTest (revision 75274) +++ Lib/test/decimaltestdata/decDouble.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- decDouble tests dectest: ddAbs Index: Lib/test/decimaltestdata/dqClass.decTest =================================================================== --- Lib/test/decimaltestdata/dqClass.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqClass.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- [New 2006.11.27] Index: Lib/test/decimaltestdata/copysign.decTest =================================================================== --- Lib/test/decimaltestdata/copysign.decTest (revision 75274) +++ Lib/test/decimaltestdata/copysign.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/decSingle.decTest =================================================================== --- Lib/test/decimaltestdata/decSingle.decTest (revision 75274) +++ Lib/test/decimaltestdata/decSingle.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- decSingle tests dectest: dsBase Index: Lib/test/decimaltestdata/ddAdd.decTest =================================================================== --- Lib/test/decimaltestdata/ddAdd.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddAdd.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- This set of tests are for decDoubles only; all arguments are -- representable in a decDouble Index: Lib/test/decimaltestdata/ddCopySign.decTest =================================================================== --- Lib/test/decimaltestdata/ddCopySign.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddCopySign.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/ddEncode.decTest =================================================================== --- Lib/test/decimaltestdata/ddEncode.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddEncode.decTest (working copy) @@ -18,7 +18,7 @@ -- mfc@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: Index: Lib/test/decimaltestdata/powersqrt.decTest =================================================================== --- Lib/test/decimaltestdata/powersqrt.decTest (revision 75274) +++ Lib/test/decimaltestdata/powersqrt.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/decQuad.decTest =================================================================== --- Lib/test/decimaltestdata/decQuad.decTest (revision 75274) +++ Lib/test/decimaltestdata/decQuad.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- decQuad tests dectest: dqAbs Index: Lib/test/decimaltestdata/dqPlus.decTest =================================================================== --- Lib/test/decimaltestdata/dqPlus.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqPlus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/dqCompare.decTest =================================================================== --- Lib/test/decimaltestdata/dqCompare.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqCompare.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddInvert.decTest =================================================================== --- Lib/test/decimaltestdata/ddInvert.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddInvert.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/dqCopySign.decTest =================================================================== --- Lib/test/decimaltestdata/dqCopySign.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqCopySign.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/log10.decTest =================================================================== --- Lib/test/decimaltestdata/log10.decTest (revision 75274) +++ Lib/test/decimaltestdata/log10.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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). Index: Lib/test/decimaltestdata/nextplus.decTest =================================================================== --- Lib/test/decimaltestdata/nextplus.decTest (revision 75274) +++ Lib/test/decimaltestdata/nextplus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/ddBase.decTest =================================================================== --- Lib/test/decimaltestdata/ddBase.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddBase.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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) Index: Lib/test/decimaltestdata/dqSameQuantum.decTest =================================================================== --- Lib/test/decimaltestdata/dqSameQuantum.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqSameQuantum.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/ddMultiply.decTest =================================================================== --- Lib/test/decimaltestdata/ddMultiply.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddMultiply.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- This set of tests are for decDoubles only; all arguments are -- representable in a decDouble Index: Lib/test/decimaltestdata/dqFMA.decTest =================================================================== --- Lib/test/decimaltestdata/dqFMA.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqFMA.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/ddNextPlus.decTest =================================================================== --- Lib/test/decimaltestdata/ddNextPlus.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddNextPlus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/minus.decTest =================================================================== --- Lib/test/decimaltestdata/minus.decTest (revision 75274) +++ Lib/test/decimaltestdata/minus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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. Index: Lib/test/decimaltestdata/power.decTest =================================================================== --- Lib/test/decimaltestdata/power.decTest (revision 75274) +++ Lib/test/decimaltestdata/power.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/nexttoward.decTest =================================================================== --- Lib/test/decimaltestdata/nexttoward.decTest (revision 75274) +++ Lib/test/decimaltestdata/nexttoward.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/samequantum.decTest =================================================================== --- Lib/test/decimaltestdata/samequantum.decTest (revision 75274) +++ Lib/test/decimaltestdata/samequantum.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/and.decTest =================================================================== --- Lib/test/decimaltestdata/and.decTest (revision 75274) +++ Lib/test/decimaltestdata/and.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/comparetotmag.decTest =================================================================== --- Lib/test/decimaltestdata/comparetotmag.decTest (revision 75274) +++ Lib/test/decimaltestdata/comparetotmag.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/dqMultiply.decTest =================================================================== --- Lib/test/decimaltestdata/dqMultiply.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqMultiply.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- This set of tests are for decQuads only; all arguments are -- representable in a decQuad Index: Lib/test/decimaltestdata/dqOr.decTest =================================================================== --- Lib/test/decimaltestdata/dqOr.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqOr.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/dqNextPlus.decTest =================================================================== --- Lib/test/decimaltestdata/dqNextPlus.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqNextPlus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/ddNextToward.decTest =================================================================== --- Lib/test/decimaltestdata/ddNextToward.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddNextToward.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/ddSameQuantum.decTest =================================================================== --- Lib/test/decimaltestdata/ddSameQuantum.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddSameQuantum.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/xor.decTest =================================================================== --- Lib/test/decimaltestdata/xor.decTest (revision 75274) +++ Lib/test/decimaltestdata/xor.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/ddFMA.decTest =================================================================== --- Lib/test/decimaltestdata/ddFMA.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddFMA.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/dqCopyNegate.decTest =================================================================== --- Lib/test/decimaltestdata/dqCopyNegate.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqCopyNegate.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/dqAnd.decTest =================================================================== --- Lib/test/decimaltestdata/dqAnd.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqAnd.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/dqReduce.decTest =================================================================== --- Lib/test/decimaltestdata/dqReduce.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqReduce.decTest (working copy) @@ -18,7 +18,7 @@ -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/dqXor.decTest =================================================================== --- Lib/test/decimaltestdata/dqXor.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqXor.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/dqMaxMag.decTest =================================================================== --- Lib/test/decimaltestdata/dqMaxMag.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqMaxMag.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/dqCopy.decTest =================================================================== --- Lib/test/decimaltestdata/dqCopy.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqCopy.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/ddCompareSig.decTest =================================================================== --- Lib/test/decimaltestdata/ddCompareSig.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddCompareSig.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/fma.decTest =================================================================== --- Lib/test/decimaltestdata/fma.decTest (revision 75274) +++ Lib/test/decimaltestdata/fma.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/ddMinus.decTest =================================================================== --- Lib/test/decimaltestdata/ddMinus.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddMinus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/dqDivideInt.decTest =================================================================== --- Lib/test/decimaltestdata/dqDivideInt.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqDivideInt.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/reduce.decTest =================================================================== --- Lib/test/decimaltestdata/reduce.decTest (revision 75274) +++ Lib/test/decimaltestdata/reduce.decTest (working copy) @@ -19,7 +19,7 @@ ------------------------------------------------------------------------ -- [This used to be called normalize.] -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/dqLogB.decTest =================================================================== --- Lib/test/decimaltestdata/dqLogB.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqLogB.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/tointegral.decTest =================================================================== --- Lib/test/decimaltestdata/tointegral.decTest (revision 75274) +++ Lib/test/decimaltestdata/tointegral.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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). Index: Lib/test/decimaltestdata/ln.decTest =================================================================== --- Lib/test/decimaltestdata/ln.decTest (revision 75274) +++ Lib/test/decimaltestdata/ln.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 16 Index: Lib/test/decimaltestdata/ddAnd.decTest =================================================================== --- Lib/test/decimaltestdata/ddAnd.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddAnd.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/dqCompareTotal.decTest =================================================================== --- Lib/test/decimaltestdata/dqCompareTotal.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqCompareTotal.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddToIntegral.decTest =================================================================== --- Lib/test/decimaltestdata/ddToIntegral.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddToIntegral.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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). Index: Lib/test/decimaltestdata/ddXor.decTest =================================================================== --- Lib/test/decimaltestdata/ddXor.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddXor.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/plus.decTest =================================================================== --- Lib/test/decimaltestdata/plus.decTest (revision 75274) +++ Lib/test/decimaltestdata/plus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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. Index: Lib/test/decimaltestdata/dsEncode.decTest =================================================================== --- Lib/test/decimaltestdata/dsEncode.decTest (revision 75274) +++ Lib/test/decimaltestdata/dsEncode.decTest (working copy) @@ -18,7 +18,7 @@ -- mfc@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: Index: Lib/test/decimaltestdata/ddCompareTotalMag.decTest =================================================================== --- Lib/test/decimaltestdata/ddCompareTotalMag.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddCompareTotalMag.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/subtract.decTest =================================================================== --- Lib/test/decimaltestdata/subtract.decTest (revision 75274) +++ Lib/test/decimaltestdata/subtract.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/dqDivide.decTest =================================================================== --- Lib/test/decimaltestdata/dqDivide.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqDivide.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/copyabs.decTest =================================================================== --- Lib/test/decimaltestdata/copyabs.decTest (revision 75274) +++ Lib/test/decimaltestdata/copyabs.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/divide.decTest =================================================================== --- Lib/test/decimaltestdata/divide.decTest (revision 75274) +++ Lib/test/decimaltestdata/divide.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/ddCopyAbs.decTest =================================================================== --- Lib/test/decimaltestdata/ddCopyAbs.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddCopyAbs.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/maxmag.decTest =================================================================== --- Lib/test/decimaltestdata/maxmag.decTest (revision 75274) +++ Lib/test/decimaltestdata/maxmag.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/dqCanonical.decTest =================================================================== --- Lib/test/decimaltestdata/dqCanonical.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqCanonical.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- This file tests that copy operations leave uncanonical operands -- unchanged, and vice versa Index: Lib/test/decimaltestdata/remainderNear.decTest =================================================================== --- Lib/test/decimaltestdata/remainderNear.decTest (revision 75274) +++ Lib/test/decimaltestdata/remainderNear.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/dqNextMinus.decTest =================================================================== --- Lib/test/decimaltestdata/dqNextMinus.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqNextMinus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/ddReduce.decTest =================================================================== --- Lib/test/decimaltestdata/ddReduce.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddReduce.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/dqMinus.decTest =================================================================== --- Lib/test/decimaltestdata/dqMinus.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqMinus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/ddMaxMag.decTest =================================================================== --- Lib/test/decimaltestdata/ddMaxMag.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddMaxMag.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/dqRotate.decTest =================================================================== --- Lib/test/decimaltestdata/dqRotate.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqRotate.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/dqNextToward.decTest =================================================================== --- Lib/test/decimaltestdata/dqNextToward.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqNextToward.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/compare.decTest =================================================================== --- Lib/test/decimaltestdata/compare.decTest (revision 75274) +++ Lib/test/decimaltestdata/compare.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/inexact.decTest =================================================================== --- Lib/test/decimaltestdata/inexact.decTest (revision 75274) +++ Lib/test/decimaltestdata/inexact.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/ddPlus.decTest =================================================================== --- Lib/test/decimaltestdata/ddPlus.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddPlus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/exp.decTest =================================================================== --- Lib/test/decimaltestdata/exp.decTest (revision 75274) +++ Lib/test/decimaltestdata/exp.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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). Index: Lib/test/decimaltestdata/dqMinMag.decTest =================================================================== --- Lib/test/decimaltestdata/dqMinMag.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqMinMag.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/rotate.decTest =================================================================== --- Lib/test/decimaltestdata/rotate.decTest (revision 75274) +++ Lib/test/decimaltestdata/rotate.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/ddSubtract.decTest =================================================================== --- Lib/test/decimaltestdata/ddSubtract.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddSubtract.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- This set of tests are for decDoubles only; all arguments are -- representable in a decDouble Index: Lib/test/decimaltestdata/copy.decTest =================================================================== --- Lib/test/decimaltestdata/copy.decTest (revision 75274) +++ Lib/test/decimaltestdata/copy.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/dqSubtract.decTest =================================================================== --- Lib/test/decimaltestdata/dqSubtract.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqSubtract.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- This set of tests are for decQuads only; all arguments are -- representable in a decQuad Index: Lib/test/decimaltestdata/ddDivide.decTest =================================================================== --- Lib/test/decimaltestdata/ddDivide.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddDivide.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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,8 +168,17 @@ 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 dddiv302 divide 0 7E-5 -> 0E+5 Index: Lib/test/decimaltestdata/randomBound32.decTest =================================================================== --- Lib/test/decimaltestdata/randomBound32.decTest (revision 75274) +++ Lib/test/decimaltestdata/randomBound32.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/shift.decTest =================================================================== --- Lib/test/decimaltestdata/shift.decTest (revision 75274) +++ Lib/test/decimaltestdata/shift.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/dqScaleB.decTest =================================================================== --- Lib/test/decimaltestdata/dqScaleB.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqScaleB.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/dqCompareSig.decTest =================================================================== --- Lib/test/decimaltestdata/dqCompareSig.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqCompareSig.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/divideint.decTest =================================================================== --- Lib/test/decimaltestdata/divideint.decTest (revision 75274) +++ Lib/test/decimaltestdata/divideint.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/min.decTest =================================================================== --- Lib/test/decimaltestdata/min.decTest (revision 75274) +++ Lib/test/decimaltestdata/min.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddRemainderNear.decTest =================================================================== --- Lib/test/decimaltestdata/ddRemainderNear.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddRemainderNear.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/max.decTest =================================================================== --- Lib/test/decimaltestdata/max.decTest (revision 75274) +++ Lib/test/decimaltestdata/max.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddDivideInt.decTest =================================================================== --- Lib/test/decimaltestdata/ddDivideInt.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddDivideInt.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/dqRemainder.decTest =================================================================== --- Lib/test/decimaltestdata/dqRemainder.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqRemainder.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/dqToIntegral.decTest =================================================================== --- Lib/test/decimaltestdata/dqToIntegral.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqToIntegral.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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). Index: Lib/test/decimaltestdata/ddCompare.decTest =================================================================== --- Lib/test/decimaltestdata/ddCompare.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddCompare.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/dqBase.decTest =================================================================== --- Lib/test/decimaltestdata/dqBase.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqBase.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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) Index: Lib/test/decimaltestdata/quantize.decTest =================================================================== --- Lib/test/decimaltestdata/quantize.decTest (revision 75274) +++ Lib/test/decimaltestdata/quantize.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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. Index: Lib/test/decimaltestdata/dsBase.decTest =================================================================== --- Lib/test/decimaltestdata/dsBase.decTest (revision 75274) +++ Lib/test/decimaltestdata/dsBase.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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) Index: Lib/test/decimaltestdata/abs.decTest =================================================================== --- Lib/test/decimaltestdata/abs.decTest (revision 75274) +++ Lib/test/decimaltestdata/abs.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/class.decTest =================================================================== --- Lib/test/decimaltestdata/class.decTest (revision 75274) +++ Lib/test/decimaltestdata/class.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- [New 2006.11.27] Index: Lib/test/decimaltestdata/ddRotate.decTest =================================================================== --- Lib/test/decimaltestdata/ddRotate.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddRotate.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/minmag.decTest =================================================================== --- Lib/test/decimaltestdata/minmag.decTest (revision 75274) +++ Lib/test/decimaltestdata/minmag.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/dqMin.decTest =================================================================== --- Lib/test/decimaltestdata/dqMin.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqMin.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/dqMax.decTest =================================================================== --- Lib/test/decimaltestdata/dqMax.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqMax.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/or.decTest =================================================================== --- Lib/test/decimaltestdata/or.decTest (revision 75274) +++ Lib/test/decimaltestdata/or.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/ddMinMag.decTest =================================================================== --- Lib/test/decimaltestdata/ddMinMag.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddMinMag.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddCopy.decTest =================================================================== --- Lib/test/decimaltestdata/ddCopy.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddCopy.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/logb.decTest =================================================================== --- Lib/test/decimaltestdata/logb.decTest (revision 75274) +++ Lib/test/decimaltestdata/logb.decTest (working copy) @@ -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@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 Index: Lib/test/decimaltestdata/ddShift.decTest =================================================================== --- Lib/test/decimaltestdata/ddShift.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddShift.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/scaleb.decTest =================================================================== --- Lib/test/decimaltestdata/scaleb.decTest (revision 75274) +++ Lib/test/decimaltestdata/scaleb.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/nextminus.decTest =================================================================== --- Lib/test/decimaltestdata/nextminus.decTest (revision 75274) +++ Lib/test/decimaltestdata/nextminus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/comparetotal.decTest =================================================================== --- Lib/test/decimaltestdata/comparetotal.decTest (revision 75274) +++ Lib/test/decimaltestdata/comparetotal.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/dqAbs.decTest =================================================================== --- Lib/test/decimaltestdata/dqAbs.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqAbs.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/ddLogB.decTest =================================================================== --- Lib/test/decimaltestdata/ddLogB.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddLogB.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/ddMin.decTest =================================================================== --- Lib/test/decimaltestdata/ddMin.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddMin.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddMax.decTest =================================================================== --- Lib/test/decimaltestdata/ddMax.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddMax.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddCanonical.decTest =================================================================== --- Lib/test/decimaltestdata/ddCanonical.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddCanonical.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- This file tests that copy operations leave uncanonical operands -- unchanged, and vice versa Index: Lib/test/decimaltestdata/dqRemainderNear.decTest =================================================================== --- Lib/test/decimaltestdata/dqRemainderNear.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqRemainderNear.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/ddScaleB.decTest =================================================================== --- Lib/test/decimaltestdata/ddScaleB.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddScaleB.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/ddCompareTotal.decTest =================================================================== --- Lib/test/decimaltestdata/ddCompareTotal.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddCompareTotal.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddNextMinus.decTest =================================================================== --- Lib/test/decimaltestdata/ddNextMinus.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddNextMinus.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/dqCompareTotalMag.decTest =================================================================== --- Lib/test/decimaltestdata/dqCompareTotalMag.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqCompareTotalMag.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/remainder.decTest =================================================================== --- Lib/test/decimaltestdata/remainder.decTest (revision 75274) +++ Lib/test/decimaltestdata/remainder.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/ddQuantize.decTest =================================================================== --- Lib/test/decimaltestdata/ddQuantize.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddQuantize.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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. Index: Lib/test/decimaltestdata/testall.decTest =================================================================== --- Lib/test/decimaltestdata/testall.decTest (revision 75274) +++ Lib/test/decimaltestdata/testall.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- core tests (using Extended: 1) -------------------------------------- dectest: base Index: Lib/test/decimaltestdata/ddClass.decTest =================================================================== --- Lib/test/decimaltestdata/ddClass.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddClass.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- [New 2006.11.27] precision: 16 Index: Lib/test/decimaltestdata/ddAbs.decTest =================================================================== --- Lib/test/decimaltestdata/ddAbs.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddAbs.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/rescale.decTest =================================================================== --- Lib/test/decimaltestdata/rescale.decTest (revision 75274) +++ Lib/test/decimaltestdata/rescale.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- [obsolete] Quantize.decTest has the improved version Index: Lib/test/decimaltestdata/dqEncode.decTest =================================================================== --- Lib/test/decimaltestdata/dqEncode.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqEncode.decTest (working copy) @@ -18,7 +18,7 @@ -- mfc@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: Index: Lib/test/decimaltestdata/dqCopyAbs.decTest =================================================================== --- Lib/test/decimaltestdata/dqCopyAbs.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqCopyAbs.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decQuads. extended: 1 Index: Lib/test/decimaltestdata/dqQuantize.decTest =================================================================== --- Lib/test/decimaltestdata/dqQuantize.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqQuantize.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/add.decTest =================================================================== --- Lib/test/decimaltestdata/add.decTest (revision 75274) +++ Lib/test/decimaltestdata/add.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 9 rounding: half_up Index: Lib/test/decimaltestdata/ddOr.decTest =================================================================== --- Lib/test/decimaltestdata/ddOr.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddOr.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/dqInvert.decTest =================================================================== --- Lib/test/decimaltestdata/dqInvert.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqInvert.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/clamp.decTest =================================================================== --- Lib/test/decimaltestdata/clamp.decTest (revision 75274) +++ Lib/test/decimaltestdata/clamp.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/copynegate.decTest =================================================================== --- Lib/test/decimaltestdata/copynegate.decTest (revision 75274) +++ Lib/test/decimaltestdata/copynegate.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/tointegralx.decTest =================================================================== --- Lib/test/decimaltestdata/tointegralx.decTest (revision 75274) +++ Lib/test/decimaltestdata/tointegralx.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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). Index: Lib/test/decimaltestdata/dqShift.decTest =================================================================== --- Lib/test/decimaltestdata/dqShift.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqShift.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 clamp: 1 Index: Lib/test/decimaltestdata/randoms.decTest =================================================================== --- Lib/test/decimaltestdata/randoms.decTest (revision 75274) +++ Lib/test/decimaltestdata/randoms.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 maxexponent: 999999999 Index: Lib/test/decimaltestdata/squareroot.decTest =================================================================== --- Lib/test/decimaltestdata/squareroot.decTest (revision 75274) +++ Lib/test/decimaltestdata/squareroot.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddCopyNegate.decTest =================================================================== --- Lib/test/decimaltestdata/ddCopyNegate.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddCopyNegate.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 -- All operands and results are decDoubles. precision: 16 Index: Lib/test/decimaltestdata/invert.decTest =================================================================== --- Lib/test/decimaltestdata/invert.decTest (revision 75274) +++ Lib/test/decimaltestdata/invert.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9 Index: Lib/test/decimaltestdata/base.decTest =================================================================== --- Lib/test/decimaltestdata/base.decTest (revision 75274) +++ Lib/test/decimaltestdata/base.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 -- This file tests base conversions from string to a decimal number Index: Lib/test/decimaltestdata/dqAdd.decTest =================================================================== --- Lib/test/decimaltestdata/dqAdd.decTest (revision 75274) +++ Lib/test/decimaltestdata/dqAdd.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@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 Index: Lib/test/decimaltestdata/ddRemainder.decTest =================================================================== --- Lib/test/decimaltestdata/ddRemainder.decTest (revision 75274) +++ Lib/test/decimaltestdata/ddRemainder.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 precision: 16 maxExponent: 384 Index: Lib/test/decimaltestdata/multiply.decTest =================================================================== --- Lib/test/decimaltestdata/multiply.decTest (revision 75274) +++ Lib/test/decimaltestdata/multiply.decTest (working copy) @@ -17,7 +17,7 @@ -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ -version: 2.58 +version: 2.59 extended: 1 precision: 9