+++ /dev/null
-------------------------------------------------------------------------\r
--- copy.decTest -- quiet copy --\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
-extended: 1\r
-precision: 9\r
-rounding: half_up\r
-maxExponent: 999\r
-minExponent: -999\r
-\r
--- Sanity check\r
-cpyx001 copy +7.50 -> 7.50\r
-\r
--- Infinities\r
-cpyx011 copy Infinity -> Infinity\r
-cpyx012 copy -Infinity -> -Infinity\r
-\r
--- NaNs, 0 payload\r
-cpyx021 copy NaN -> NaN\r
-cpyx022 copy -NaN -> -NaN\r
-cpyx023 copy sNaN -> sNaN\r
-cpyx024 copy -sNaN -> -sNaN\r
-\r
--- NaNs, non-0 payload\r
-cpyx031 copy NaN10 -> NaN10\r
-cpyx032 copy -NaN10 -> -NaN10\r
-cpyx033 copy sNaN10 -> sNaN10\r
-cpyx034 copy -sNaN10 -> -sNaN10\r
-cpyx035 copy NaN7 -> NaN7\r
-cpyx036 copy -NaN7 -> -NaN7\r
-cpyx037 copy sNaN101 -> sNaN101\r
-cpyx038 copy -sNaN101 -> -sNaN101\r
-\r
--- finites\r
-cpyx101 copy 7 -> 7\r
-cpyx102 copy -7 -> -7\r
-cpyx103 copy 75 -> 75\r
-cpyx104 copy -75 -> -75\r
-cpyx105 copy 7.50 -> 7.50\r
-cpyx106 copy -7.50 -> -7.50\r
-cpyx107 copy 7.500 -> 7.500\r
-cpyx108 copy -7.500 -> -7.500\r
-\r
--- zeros\r
-cpyx111 copy 0 -> 0\r
-cpyx112 copy -0 -> -0\r
-cpyx113 copy 0E+4 -> 0E+4\r
-cpyx114 copy -0E+4 -> -0E+4\r
-cpyx115 copy 0.0000 -> 0.0000\r
-cpyx116 copy -0.0000 -> -0.0000\r
-cpyx117 copy 0E-141 -> 0E-141\r
-cpyx118 copy -0E-141 -> -0E-141\r
-\r
--- full coefficients, alternating bits\r
-cpyx121 copy 268268268 -> 268268268\r
-cpyx122 copy -268268268 -> -268268268\r
-cpyx123 copy 134134134 -> 134134134\r
-cpyx124 copy -134134134 -> -134134134\r
-\r
--- Nmax, Nmin, Ntiny\r
-cpyx131 copy 9.99999999E+999 -> 9.99999999E+999\r
-cpyx132 copy 1E-999 -> 1E-999\r
-cpyx133 copy 1.00000000E-999 -> 1.00000000E-999\r
-cpyx134 copy 1E-1007 -> 1E-1007\r
-\r
-cpyx135 copy -1E-1007 -> -1E-1007\r
-cpyx136 copy -1.00000000E-999 -> -1.00000000E-999\r
-cpyx137 copy -1E-999 -> -1E-999\r
-cpyx138 copy -9.99999999E+999 -> -9.99999999E+999\r