]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqCopy.decTest
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / decimaltestdata / dqCopy.decTest
CommitLineData
4710c53d 1------------------------------------------------------------------------\r
2-- dqCopy.decTest -- quiet decQuad copy --\r
3-- Copyright (c) IBM Corporation, 1981, 2008. All rights reserved. --\r
4------------------------------------------------------------------------\r
5-- Please see the document "General Decimal Arithmetic Testcases" --\r
6-- at http://www2.hursley.ibm.com/decimal for the description of --\r
7-- these testcases. --\r
8-- --\r
9-- These testcases are experimental ('beta' versions), and they --\r
10-- may contain errors. They are offered on an as-is basis. In --\r
11-- particular, achieving the same results as the tests here is not --\r
12-- a guarantee that an implementation complies with any Standard --\r
13-- or specification. The tests are not exhaustive. --\r
14-- --\r
15-- Please send comments, suggestions, and corrections to the author: --\r
16-- Mike Cowlishaw, IBM Fellow --\r
17-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
18-- mfc@uk.ibm.com --\r
19------------------------------------------------------------------------\r
20version: 2.59\r
21\r
22-- All operands and results are decQuads.\r
23extended: 1\r
24clamp: 1\r
25precision: 34\r
26maxExponent: 6144\r
27minExponent: -6143\r
28rounding: half_even\r
29\r
30-- Sanity check\r
31dqcpy001 copy +7.50 -> 7.50\r
32\r
33-- Infinities\r
34dqcpy011 copy Infinity -> Infinity\r
35dqcpy012 copy -Infinity -> -Infinity\r
36\r
37-- NaNs, 0 payload\r
38dqcpy021 copy NaN -> NaN\r
39dqcpy022 copy -NaN -> -NaN\r
40dqcpy023 copy sNaN -> sNaN\r
41dqcpy024 copy -sNaN -> -sNaN\r
42\r
43-- NaNs, non-0 payload\r
44dqcpy031 copy NaN10 -> NaN10\r
45dqcpy032 copy -NaN10 -> -NaN10\r
46dqcpy033 copy sNaN10 -> sNaN10\r
47dqcpy034 copy -sNaN10 -> -sNaN10\r
48dqcpy035 copy NaN7 -> NaN7\r
49dqcpy036 copy -NaN7 -> -NaN7\r
50dqcpy037 copy sNaN101 -> sNaN101\r
51dqcpy038 copy -sNaN101 -> -sNaN101\r
52\r
53-- finites\r
54dqcpy101 copy 7 -> 7\r
55dqcpy102 copy -7 -> -7\r
56dqcpy103 copy 75 -> 75\r
57dqcpy104 copy -75 -> -75\r
58dqcpy105 copy 7.50 -> 7.50\r
59dqcpy106 copy -7.50 -> -7.50\r
60dqcpy107 copy 7.500 -> 7.500\r
61dqcpy108 copy -7.500 -> -7.500\r
62\r
63-- zeros\r
64dqcpy111 copy 0 -> 0\r
65dqcpy112 copy -0 -> -0\r
66dqcpy113 copy 0E+4 -> 0E+4\r
67dqcpy114 copy -0E+4 -> -0E+4\r
68dqcpy115 copy 0.0000 -> 0.0000\r
69dqcpy116 copy -0.0000 -> -0.0000\r
70dqcpy117 copy 0E-141 -> 0E-141\r
71dqcpy118 copy -0E-141 -> -0E-141\r
72\r
73-- full coefficients, alternating bits\r
74dqcpy121 copy 2682682682682682682682682682682682 -> 2682682682682682682682682682682682\r
75dqcpy122 copy -2682682682682682682682682682682682 -> -2682682682682682682682682682682682\r
76dqcpy123 copy 1341341341341341341341341341341341 -> 1341341341341341341341341341341341\r
77dqcpy124 copy -1341341341341341341341341341341341 -> -1341341341341341341341341341341341\r
78\r
79-- Nmax, Nmin, Ntiny\r
80dqcpy131 copy 9.999999999999999999999999999999999E+6144 -> 9.999999999999999999999999999999999E+6144\r
81dqcpy132 copy 1E-6143 -> 1E-6143\r
82dqcpy133 copy 1.000000000000000000000000000000000E-6143 -> 1.000000000000000000000000000000000E-6143\r
83dqcpy134 copy 1E-6176 -> 1E-6176\r
84\r
85dqcpy135 copy -1E-6176 -> -1E-6176\r
86dqcpy136 copy -1.000000000000000000000000000000000E-6143 -> -1.000000000000000000000000000000000E-6143\r
87dqcpy137 copy -1E-6143 -> -1E-6143\r
88dqcpy138 copy -9.999999999999999999999999999999999E+6144 -> -9.999999999999999999999999999999999E+6144\r