+++ /dev/null
-------------------------------------------------------------------------\r
--- ddCopyNegate.decTest -- quiet decDouble copy and negate --\r
--- Copyright (c) IBM Corporation, 1981, 2008. 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
--- these testcases. --\r
--- --\r
--- These testcases are experimental ('beta' versions), and they --\r
--- may contain errors. They are offered on an as-is basis. In --\r
--- particular, achieving the same results as the tests here is not --\r
--- a guarantee that an implementation complies with any Standard --\r
--- or specification. The tests are not exhaustive. --\r
--- --\r
--- Please send comments, suggestions, and corrections to the author: --\r
--- Mike Cowlishaw, IBM Fellow --\r
--- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
--- mfc@uk.ibm.com --\r
-------------------------------------------------------------------------\r
-version: 2.59\r
-\r
--- All operands and results are decDoubles.\r
-precision: 16\r
-maxExponent: 384\r
-minExponent: -383\r
-extended: 1\r
-clamp: 1\r
-rounding: half_even\r
-\r
--- Sanity check\r
-ddcpn001 copynegate +7.50 -> -7.50\r
-\r
--- Infinities\r
-ddcpn011 copynegate Infinity -> -Infinity\r
-ddcpn012 copynegate -Infinity -> Infinity\r
-\r
--- NaNs, 0 payload\r
-ddcpn021 copynegate NaN -> -NaN\r
-ddcpn022 copynegate -NaN -> NaN\r
-ddcpn023 copynegate sNaN -> -sNaN\r
-ddcpn024 copynegate -sNaN -> sNaN\r
-\r
--- NaNs, non-0 payload\r
-ddcpn031 copynegate NaN13 -> -NaN13\r
-ddcpn032 copynegate -NaN13 -> NaN13\r
-ddcpn033 copynegate sNaN13 -> -sNaN13\r
-ddcpn034 copynegate -sNaN13 -> sNaN13\r
-ddcpn035 copynegate NaN70 -> -NaN70\r
-ddcpn036 copynegate -NaN70 -> NaN70\r
-ddcpn037 copynegate sNaN101 -> -sNaN101\r
-ddcpn038 copynegate -sNaN101 -> sNaN101\r
-\r
--- finites\r
-ddcpn101 copynegate 7 -> -7\r
-ddcpn102 copynegate -7 -> 7\r
-ddcpn103 copynegate 75 -> -75\r
-ddcpn104 copynegate -75 -> 75\r
-ddcpn105 copynegate 7.50 -> -7.50\r
-ddcpn106 copynegate -7.50 -> 7.50\r
-ddcpn107 copynegate 7.500 -> -7.500\r
-ddcpn108 copynegate -7.500 -> 7.500\r
-\r
--- zeros\r
-ddcpn111 copynegate 0 -> -0\r
-ddcpn112 copynegate -0 -> 0\r
-ddcpn113 copynegate 0E+4 -> -0E+4\r
-ddcpn114 copynegate -0E+4 -> 0E+4\r
-ddcpn115 copynegate 0.0000 -> -0.0000\r
-ddcpn116 copynegate -0.0000 -> 0.0000\r
-ddcpn117 copynegate 0E-141 -> -0E-141\r
-ddcpn118 copynegate -0E-141 -> 0E-141\r
-\r
--- full coefficients, alternating bits\r
-ddcpn121 copynegate 2682682682682682 -> -2682682682682682\r
-ddcpn122 copynegate -2682682682682682 -> 2682682682682682\r
-ddcpn123 copynegate 1341341341341341 -> -1341341341341341\r
-ddcpn124 copynegate -1341341341341341 -> 1341341341341341\r
-\r
--- Nmax, Nmin, Ntiny\r
-ddcpn131 copynegate 9.999999999999999E+384 -> -9.999999999999999E+384\r
-ddcpn132 copynegate 1E-383 -> -1E-383\r
-ddcpn133 copynegate 1.000000000000000E-383 -> -1.000000000000000E-383\r
-ddcpn134 copynegate 1E-398 -> -1E-398\r
-\r
-ddcpn135 copynegate -1E-398 -> 1E-398\r
-ddcpn136 copynegate -1.000000000000000E-383 -> 1.000000000000000E-383\r
-ddcpn137 copynegate -1E-383 -> 1E-383\r
-ddcpn138 copynegate -9.999999999999999E+384 -> 9.999999999999999E+384\r