Update to 2.7.3
[profile/ivi/python.git] / Lib / test / decimaltestdata / dqCopy.decTest
index 7254d68..0c62431 100644 (file)
@@ -1,88 +1,88 @@
-------------------------------------------------------------------------\r
--- dqCopy.decTest -- quiet decQuad 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
--- All operands and results are decQuads.\r
-extended:    1\r
-clamp:       1\r
-precision:   34\r
-maxExponent: 6144\r
-minExponent: -6143\r
-rounding:    half_even\r
-\r
--- Sanity check\r
-dqcpy001 copy       +7.50  -> 7.50\r
-\r
--- Infinities\r
-dqcpy011 copy  Infinity    -> Infinity\r
-dqcpy012 copy  -Infinity   -> -Infinity\r
-\r
--- NaNs, 0 payload\r
-dqcpy021 copy         NaN  -> NaN\r
-dqcpy022 copy        -NaN  -> -NaN\r
-dqcpy023 copy        sNaN  -> sNaN\r
-dqcpy024 copy       -sNaN  -> -sNaN\r
-\r
--- NaNs, non-0 payload\r
-dqcpy031 copy       NaN10  -> NaN10\r
-dqcpy032 copy      -NaN10  -> -NaN10\r
-dqcpy033 copy      sNaN10  -> sNaN10\r
-dqcpy034 copy     -sNaN10  -> -sNaN10\r
-dqcpy035 copy       NaN7   -> NaN7\r
-dqcpy036 copy      -NaN7   -> -NaN7\r
-dqcpy037 copy      sNaN101 -> sNaN101\r
-dqcpy038 copy     -sNaN101 -> -sNaN101\r
-\r
--- finites\r
-dqcpy101 copy          7   -> 7\r
-dqcpy102 copy         -7   -> -7\r
-dqcpy103 copy         75   -> 75\r
-dqcpy104 copy        -75   -> -75\r
-dqcpy105 copy       7.50   -> 7.50\r
-dqcpy106 copy      -7.50   -> -7.50\r
-dqcpy107 copy       7.500  -> 7.500\r
-dqcpy108 copy      -7.500  -> -7.500\r
-\r
--- zeros\r
-dqcpy111 copy          0   -> 0\r
-dqcpy112 copy         -0   -> -0\r
-dqcpy113 copy       0E+4   -> 0E+4\r
-dqcpy114 copy      -0E+4   -> -0E+4\r
-dqcpy115 copy     0.0000   -> 0.0000\r
-dqcpy116 copy    -0.0000   -> -0.0000\r
-dqcpy117 copy      0E-141  -> 0E-141\r
-dqcpy118 copy     -0E-141  -> -0E-141\r
-\r
--- full coefficients, alternating bits\r
-dqcpy121 copy   2682682682682682682682682682682682    ->  2682682682682682682682682682682682\r
-dqcpy122 copy  -2682682682682682682682682682682682    -> -2682682682682682682682682682682682\r
-dqcpy123 copy   1341341341341341341341341341341341    ->  1341341341341341341341341341341341\r
-dqcpy124 copy  -1341341341341341341341341341341341    -> -1341341341341341341341341341341341\r
-\r
--- Nmax, Nmin, Ntiny\r
-dqcpy131 copy  9.999999999999999999999999999999999E+6144   ->  9.999999999999999999999999999999999E+6144\r
-dqcpy132 copy  1E-6143                                     ->  1E-6143\r
-dqcpy133 copy  1.000000000000000000000000000000000E-6143   ->  1.000000000000000000000000000000000E-6143\r
-dqcpy134 copy  1E-6176                                     ->  1E-6176\r
-\r
-dqcpy135 copy  -1E-6176                                    -> -1E-6176\r
-dqcpy136 copy  -1.000000000000000000000000000000000E-6143  -> -1.000000000000000000000000000000000E-6143\r
-dqcpy137 copy  -1E-6143                                    -> -1E-6143\r
-dqcpy138 copy  -9.999999999999999999999999999999999E+6144  -> -9.999999999999999999999999999999999E+6144\r
+------------------------------------------------------------------------
+-- dqCopy.decTest -- quiet decQuad copy                               --
+-- Copyright (c) IBM Corporation, 1981, 2008.  All rights reserved.   --
+------------------------------------------------------------------------
+-- Please see the document "General Decimal Arithmetic Testcases"     --
+-- at http://www2.hursley.ibm.com/decimal for the description of      --
+-- these testcases.                                                   --
+--                                                                    --
+-- These testcases are experimental ('beta' versions), and they       --
+-- may contain errors.  They are offered on an as-is basis.  In       --
+-- particular, achieving the same results as the tests here is not    --
+-- a guarantee that an implementation complies with any Standard      --
+-- or specification.  The tests are not exhaustive.                   --
+--                                                                    --
+-- Please send comments, suggestions, and corrections to the author:  --
+--   Mike Cowlishaw, IBM Fellow                                       --
+--   IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK         --
+--   mfc@uk.ibm.com                                                   --
+------------------------------------------------------------------------
+version: 2.59
+
+-- All operands and results are decQuads.
+extended:    1
+clamp:       1
+precision:   34
+maxExponent: 6144
+minExponent: -6143
+rounding:    half_even
+
+-- Sanity check
+dqcpy001 copy       +7.50  -> 7.50
+
+-- Infinities
+dqcpy011 copy  Infinity    -> Infinity
+dqcpy012 copy  -Infinity   -> -Infinity
+
+-- NaNs, 0 payload
+dqcpy021 copy         NaN  -> NaN
+dqcpy022 copy        -NaN  -> -NaN
+dqcpy023 copy        sNaN  -> sNaN
+dqcpy024 copy       -sNaN  -> -sNaN
+
+-- NaNs, non-0 payload
+dqcpy031 copy       NaN10  -> NaN10
+dqcpy032 copy      -NaN10  -> -NaN10
+dqcpy033 copy      sNaN10  -> sNaN10
+dqcpy034 copy     -sNaN10  -> -sNaN10
+dqcpy035 copy       NaN7   -> NaN7
+dqcpy036 copy      -NaN7   -> -NaN7
+dqcpy037 copy      sNaN101 -> sNaN101
+dqcpy038 copy     -sNaN101 -> -sNaN101
+
+-- finites
+dqcpy101 copy          7   -> 7
+dqcpy102 copy         -7   -> -7
+dqcpy103 copy         75   -> 75
+dqcpy104 copy        -75   -> -75
+dqcpy105 copy       7.50   -> 7.50
+dqcpy106 copy      -7.50   -> -7.50
+dqcpy107 copy       7.500  -> 7.500
+dqcpy108 copy      -7.500  -> -7.500
+
+-- zeros
+dqcpy111 copy          0   -> 0
+dqcpy112 copy         -0   -> -0
+dqcpy113 copy       0E+4   -> 0E+4
+dqcpy114 copy      -0E+4   -> -0E+4
+dqcpy115 copy     0.0000   -> 0.0000
+dqcpy116 copy    -0.0000   -> -0.0000
+dqcpy117 copy      0E-141  -> 0E-141
+dqcpy118 copy     -0E-141  -> -0E-141
+
+-- full coefficients, alternating bits
+dqcpy121 copy   2682682682682682682682682682682682    ->  2682682682682682682682682682682682
+dqcpy122 copy  -2682682682682682682682682682682682    -> -2682682682682682682682682682682682
+dqcpy123 copy   1341341341341341341341341341341341    ->  1341341341341341341341341341341341
+dqcpy124 copy  -1341341341341341341341341341341341    -> -1341341341341341341341341341341341
+
+-- Nmax, Nmin, Ntiny
+dqcpy131 copy  9.999999999999999999999999999999999E+6144   ->  9.999999999999999999999999999999999E+6144
+dqcpy132 copy  1E-6143                                     ->  1E-6143
+dqcpy133 copy  1.000000000000000000000000000000000E-6143   ->  1.000000000000000000000000000000000E-6143
+dqcpy134 copy  1E-6176                                     ->  1E-6176
+
+dqcpy135 copy  -1E-6176                                    -> -1E-6176
+dqcpy136 copy  -1.000000000000000000000000000000000E-6143  -> -1.000000000000000000000000000000000E-6143
+dqcpy137 copy  -1E-6143                                    -> -1E-6143
+dqcpy138 copy  -9.999999999999999999999999999999999E+6144  -> -9.999999999999999999999999999999999E+6144