-- 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
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- 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
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- [New 2006.11.27]\r
\r
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that we cannot assume add/subtract tests cover paths adequately,\r
-- here, because the code might be quite different (comparison cannot\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that it cannot be assumed that add/subtract tests cover paths\r
-- for this operation adequately, here, because the code might be\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests are for decDoubles only; all arguments are\r
-- representable in a decDouble\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This file tests base conversions from string to a decimal number\r
-- and back to a string (in Scientific form)\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This file tests that copy operations leave uncanonical operands\r
-- unchanged, and vice versa\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- [New 2006.11.27]\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that we cannot assume add/subtract tests cover paths adequately,\r
-- here, because the code might be quite different (comparison cannot\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that we cannot assume add/subtract tests cover paths adequately,\r
-- here, because the code might be quite different (comparison cannot\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that we cannot assume add/subtract tests cover paths adequately,\r
-- here, because the code might be quite different (comparison cannot\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that we cannot assume add/subtract tests cover paths adequately,\r
-- here, because the code might be quite different (comparison cannot\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
dddiv222 divide -391 597 -> -0.6549413735343384 Inexact Rounded\r
dddiv223 divide -391 -597 -> 0.6549413735343384 Inexact Rounded\r
\r
--- test some cases that are close to exponent overflow\r
+-- test some cases that are close to exponent overflow, some with coefficient padding\r
dddiv270 divide 1 1e384 -> 1E-384 Subnormal\r
dddiv271 divide 1 0.9e384 -> 1.11111111111111E-384 Rounded Inexact Subnormal Underflow\r
dddiv272 divide 1 0.99e384 -> 1.01010101010101E-384 Rounded Inexact Subnormal Underflow\r
dddiv274 divide 9e384 1 -> 9.000000000000000E+384 Clamped\r
dddiv275 divide 9.9e384 1 -> 9.900000000000000E+384 Clamped\r
dddiv276 divide 9.99e384 1 -> 9.990000000000000E+384 Clamped\r
-dddiv277 divide 9.999999999999999e384 1 -> 9.999999999999999E+384\r
+dddiv277 divide 9.9999999999999e384 1 -> 9.999999999999900E+384 Clamped\r
+dddiv278 divide 9.99999999999999e384 1 -> 9.999999999999990E+384 Clamped\r
+dddiv279 divide 9.999999999999999e384 1 -> 9.999999999999999E+384\r
+\r
+dddiv285 divide 9.9e384 1.1 -> 9.000000000000000E+384 Clamped\r
+dddiv286 divide 9.99e384 1.1 -> 9.081818181818182E+384 Inexact Rounded\r
+dddiv287 divide 9.9999999999999e384 1.1 -> 9.090909090909000E+384 Clamped\r
+dddiv288 divide 9.99999999999999e384 1.1 -> 9.090909090909082E+384 Inexact Rounded\r
+dddiv289 divide 9.999999999999999e384 1.1 -> 9.090909090909090E+384 Clamped\r
+\r
\r
-- Divide into 0 tests\r
dddiv301 divide 0 7 -> 0\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-- [Previously called decimal64.decTest]\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests is for the eight-byte concrete representation.\r
-- Its characteristics are:\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests are for decDoubles only; all arguments are\r
-- representable in a decDouble\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Most of the tests here assume a "regular pattern", where the\r
-- sign and coefficient are +1.\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decDoubles.\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests are for decDoubles only; all arguments are\r
-- representable in a decDouble\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests tests the extended specification 'round-to-integral\r
-- value-exact' operations (from IEEE 854, later modified in 754r).\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
precision: 16\r
maxExponent: 384\r
-- 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
-- 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
-- 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
-- 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
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests are for decQuads only; all arguments are\r
-- representable in a decQuad\r
dqadd7732 add 0 0 -> 0\r
dqadd7733 add 0 -0 -> 0\r
dqadd7734 add -0 0 -> 0\r
-dqadd7735 add -0 -0 -> -0 -- IEEE 854 special case\r
+dqadd7735 add -0 -0 -> -0 -- IEEE 754 special case\r
\r
dqadd7736 add 1 -1 -> 0\r
dqadd7737 add -1 -1 -> -2\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This file tests base conversions from string to a decimal number\r
-- and back to a string (in Scientific form)\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This file tests that copy operations leave uncanonical operands\r
-- unchanged, and vice versa\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- [New 2006.11.27]\r
\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that we cannot assume add/subtract tests cover paths adequately,\r
-- here, because the code might be quite different (comparison cannot\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that we cannot assume add/subtract tests cover paths adequately,\r
-- here, because the code might be quite different (comparison cannot\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that we cannot assume add/subtract tests cover paths adequately,\r
-- here, because the code might be quite different (comparison cannot\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Note that we cannot assume add/subtract tests cover paths adequately,\r
-- here, because the code might be quite different (comparison cannot\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-- [Previously called decimal128.decTest]\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests is for the sixteen-byte concrete representation.\r
-- Its characteristics are:\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests are for decQuads only; all arguments are\r
-- representable in a decQuad\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Most of the tests here assume a "regular pattern", where the\r
-- sign and coefficient are +1.\r
\r
rounding: down\r
dqqua389 quantize 112233445566778899123456735236450.6 1e-2 -> NaN Invalid_operation\r
--- ? should that one instead have been:\r
--- dqqua389 quantize 112233445566778899123456735236450.6 1e-2 -> NaN Invalid_operation\r
rounding: half_up\r
\r
-- and a few more from e-mail discussions\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- All operands and results are decQuads.\r
extended: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests are for decQuads only; all arguments are\r
-- representable in a decQuad\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests tests the extended specification 'round-to-integral\r
-- value-exact' operations (from IEEE 854, later modified in 754r).\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
clamp: 1\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This file tests base conversions from string to a decimal number\r
-- and back to a string (in Scientific form)\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-- [Previously called decimal32.decTest]\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests is for the four-byte concrete representation.\r
-- Its characteristics are:\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- Tests of the exponential funtion. Currently all testcases here\r
-- show results which are correctly rounded (within <= 0.5 ulp).\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 16\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This emphasises the testing of notable cases, as they will often\r
-- have unusual paths (especially the 10**n results).\r
------------------------------------------------------------------------\r
-- logb.decTest -- return integral adjusted exponent as per 754r --\r
--- Copyright (c) IBM Corporation, 2005, 2008. All rights reserved. --\r
+-- Copyright (c) IBM Corporation, 2005, 2009. All rights reserved. --\r
------------------------------------------------------------------------\r
-- Please see the document "General Decimal Arithmetic Testcases" --\r
-- at http://www2.hursley.ibm.com/decimal for the description of --\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This emphasises the testing of notable cases, as they will often\r
-- have unusual paths (especially the 10**n results).\r
logbx1419 logb 1000E2 -> 5\r
logbx1420 logb 10000E2 -> 6\r
\r
+-- inexacts\r
+precision: 2\r
+logbx1500 logb 10000E2 -> 6\r
+logbx1501 logb 1E+99 -> 99\r
+logbx1502 logb 1E-99 -> -99\r
+logbx1503 logb 1E+100 -> 1.0E+2 Rounded\r
+logbx1504 logb 1E+999 -> 1.0E+3 Inexact Rounded\r
+logbx1505 logb 1E-100 -> -1.0E+2 Rounded\r
+logbx1506 logb 1E-999 -> -1.0E+3 Inexact Rounded\r
+logbx1507 logb 1E-1111 -> -1.1E+3 Inexact Rounded\r
+logbx1508 logb 1E-3333 -> -3.3E+3 Inexact Rounded\r
+logbx1509 logb 1E-6666 -> -6.7E+3 Inexact Rounded\r
+logbx1510 logb 1E+999999999 -> 1.0E+9 Inexact Rounded\r
+logbx1511 logb 1E-999999999 -> -1.0E+9 Inexact Rounded\r
+precision: 1\r
+logbx1517 logb 1E-1111 -> -1E+3 Inexact Rounded\r
+logbx1518 logb 1E-3333 -> -3E+3 Inexact Rounded\r
+logbx1519 logb 1E-6666 -> -7E+3 Inexact Rounded\r
+precision: 8\r
+logbx1520 logb 1E+999999999 -> 1.0000000E+9 Inexact Rounded\r
+logbx1521 logb 1E-999999999 -> -1.0000000E+9 Inexact Rounded\r
+precision: 9\r
+logbx1523 logb 1E+999999999 -> 999999999\r
+logbx1524 logb 1E-999999999 -> -999999999\r
+\r
-- special values\r
+precision: 9\r
logbx820 logb Infinity -> Infinity\r
logbx821 logb -Infinity -> Infinity\r
logbx822 logb 0 -> -Infinity Division_by_zero\r
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- we assume that base comparison is tested in compare.decTest, so\r
-- these mainly cover special cases and rounding\r
-- 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.
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- 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.
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- These testcases are taken from squareroot.decTest but are\r
-- evaluated using the power operator. The differences in results\r
-- 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.
-- 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
-- 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
------------------------------------------------------------------------
-- [This used to be called normalize.]
-version: 2.58
+version: 2.59
extended: 1
precision: 9
-- 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
-- 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
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- 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
-- 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
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
scbx161 scaleb -9.99999999E+999 -1 -> -9.99999999E+998\r
scbx162 scaleb -9E+999 +1 -> -Infinity Overflow Inexact Rounded\r
scbx163 scaleb -1E+999 +1 -> -Infinity Overflow Inexact Rounded\r
+\r
+-- Krah examples\r
+precision: 34\r
+maxExponent: 999999999\r
+minExponent: -999999999\r
+-- integer overflow in 3.61 or earlier\r
+scbx164 scaleb 1E-999999999 -1200000000 -> NaN Invalid_operation\r
+-- out of range\r
+scbx165 scaleb -1E-999999999 +1200000000 -> NaN Invalid_operation\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
-- 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
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
-- 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
-- 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
-- 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).
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
-- This set of tests tests the extended specification 'round-to-integral\r
-- value' operation (from IEEE 854, later modified in 754r).\r
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
-- mfc@uk.ibm.com --\r
------------------------------------------------------------------------\r
-version: 2.58\r
+version: 2.59\r
\r
extended: 1\r
precision: 9\r
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
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