Merged revisions 75287 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k ................ r75287 | mark.dickinson | 2009-10-08 17:30:38 +0100 (Thu, 08 Oct 2009) | 9 lines Merged revisions 75286 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75286 | mark.dickinson | 2009-10-08 17:28:39 +0100 (Thu, 08 Oct 2009) | 2 lines Update decimal test data to the most recent set from Mike Cowlishaw. ........ ................
This commit is contained in:
parent
015fa03058
commit
d08fb83777
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 @@ dddiv221 divide 391 -597 -> -0.6549413735343384 Inexact Rounded
|
|||
dddiv222 divide -391 597 -> -0.6549413735343384 Inexact Rounded
|
||||
dddiv223 divide -391 -597 -> 0.6549413735343384 Inexact Rounded
|
||||
|
||||
-- test some cases that are close to exponent overflow
|
||||
-- test some cases that are close to exponent overflow, some with coefficient padding
|
||||
dddiv270 divide 1 1e384 -> 1E-384 Subnormal
|
||||
dddiv271 divide 1 0.9e384 -> 1.11111111111111E-384 Rounded Inexact Subnormal Underflow
|
||||
dddiv272 divide 1 0.99e384 -> 1.01010101010101E-384 Rounded Inexact Subnormal Underflow
|
||||
|
@ -168,7 +168,16 @@ dddiv273 divide 1 0.9999999999999999e384 -> 1.00000000000000E-384 Rounded Inexa
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 @@ dqadd7730 add -00. 0E+3 -> 0
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 @@ dqqua387 quantize -1122334455667788991234567352364506 1e-2 -> NaN Invalid_oper
|
|||
|
||||
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
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
-- mfc@uk.ibm.com --
|
||||
------------------------------------------------------------------------
|
||||
|
||||
version: 2.58
|
||||
version: 2.59
|
||||
|
||||
extended: 1
|
||||
clamp: 1
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue