Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
fully updated to the latests Decimal Specification (v1.66) and the
latests test cases (v2.56).
Thanks to Mark Dickinson for all his help during this process.
diff --git a/Lib/test/decimaltestdata/remainder.decTest b/Lib/test/decimaltestdata/remainder.decTest
index 6eb49c3..4c92d0c 100644
--- a/Lib/test/decimaltestdata/remainder.decTest
+++ b/Lib/test/decimaltestdata/remainder.decTest
@@ -1,6 +1,6 @@
------------------------------------------------------------------------
-- remainder.decTest -- decimal remainder --
--- Copyright (c) IBM Corporation, 1981, 2004. All rights reserved. --
+-- Copyright (c) IBM Corporation, 1981, 2007. All rights reserved. --
------------------------------------------------------------------------
-- Please see the document "General Decimal Arithmetic Testcases" --
-- at http://www2.hursley.ibm.com/decimal for the description of --
@@ -17,7 +17,7 @@
-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
-- mfc@uk.ibm.com --
------------------------------------------------------------------------
-version: 2.39
+version: 2.56
extended: 1
precision: 9
@@ -351,6 +351,17 @@
remx408 remainder 0.55555555 1 -> 0.55555555
remx409 remainder 0.555555555 1 -> 0.555555555
+-- zero signs
+remx650 remainder 1 1 -> 0
+remx651 remainder -1 1 -> -0
+remx652 remainder 1 -1 -> 0
+remx653 remainder -1 -1 -> -0
+remx654 remainder 0 1 -> 0
+remx655 remainder -0 1 -> -0
+remx656 remainder 0 -1 -> 0
+remx657 remainder -0 -1 -> -0
+remx658 remainder 0.00 1 -> 0.00
+remx659 remainder -0.00 1 -> -0.00
-- Specials
remx680 remainder Inf -Inf -> NaN Invalid_operation