Mercurial > cpython-lru_cache-weakref
annotate Lib/test/decimaltestdata/samequantum.decTest @ 87690:66c1c9f32567 default tip
Add use_weakref option to functools.lru_cache
The use_weakref option makes lru_cache create weak references to the function
arguments when creating the cache key, which prevents them from staying in the
memory forever even after all other references to them are gone.
This is a proof of concept for http://bugs.python.org/issue19859
| author | Radomir Dopieralski <devel@sheep.art.pl> |
|---|---|
| date | Tue, 03 Dec 2013 16:02:48 +0100 |
| parents | 670caa9775f6 |
| children | 787b969d37f0 |
| rev | line source |
|---|---|
|
32451
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
1 ------------------------------------------------------------------------ |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
2 -- samequantum.decTest -- check quantums match -- |
|
48595
b3901c5660f7
Merged revisions 65257 via svnmerge from
Benjamin Peterson <benjamin@python.org>
parents:
44025
diff
changeset
|
3 -- Copyright (c) IBM Corporation, 2001, 2008. All rights reserved. -- |
|
32451
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
4 ------------------------------------------------------------------------ |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
5 -- Please see the document "General Decimal Arithmetic Testcases" -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
6 -- at http://www2.hursley.ibm.com/decimal for the description of -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
7 -- these testcases. -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
8 -- -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
9 -- These testcases are experimental ('beta' versions), and they -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
10 -- may contain errors. They are offered on an as-is basis. In -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
11 -- particular, achieving the same results as the tests here is not -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
12 -- a guarantee that an implementation complies with any Standard -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
13 -- or specification. The tests are not exhaustive. -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
14 -- -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
15 -- Please send comments, suggestions, and corrections to the author: -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
16 -- Mike Cowlishaw, IBM Fellow -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
17 -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
18 -- mfc@uk.ibm.com -- |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
19 ------------------------------------------------------------------------ |
|
56838
670caa9775f6
Merged revisions 75286 via svnmerge from
Mark Dickinson <dickinsm@gmail.com>
parents:
48595
diff
changeset
|
20 version: 2.59 |
|
32451
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
21 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
22 extended: 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
23 precision: 9 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
24 rounding: half_up |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
25 maxExponent: 999 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
26 minExponent: -999 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
27 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
28 samq001 samequantum 0 0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
29 samq002 samequantum 0 1 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
30 samq003 samequantum 1 0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
31 samq004 samequantum 1 1 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
32 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
33 samq011 samequantum 10 1E+1 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
34 samq012 samequantum 10E+1 10E+1 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
35 samq013 samequantum 100 10E+1 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
36 samq014 samequantum 100 1E+2 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
37 samq015 samequantum 0.1 1E-2 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
38 samq016 samequantum 0.1 1E-1 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
39 samq017 samequantum 0.1 1E-0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
40 samq018 samequantum 999 999 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
41 samq019 samequantum 999E-1 99.9 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
42 samq020 samequantum 111E-1 22.2 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
43 samq021 samequantum 111E-1 1234.2 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
44 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
45 -- zeros |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
46 samq030 samequantum 0.0 1.1 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
47 samq031 samequantum 0.0 1.11 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
48 samq032 samequantum 0.0 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
49 samq033 samequantum 0.0 0.0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
50 samq034 samequantum 0.0 0.00 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
51 samq035 samequantum 0E+1 0E+0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
52 samq036 samequantum 0E+1 0E+1 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
53 samq037 samequantum 0E+1 0E+2 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
54 samq038 samequantum 0E-17 0E-16 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
55 samq039 samequantum 0E-17 0E-17 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
56 samq040 samequantum 0E-17 0E-18 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
57 samq041 samequantum 0E-17 0.0E-15 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
58 samq042 samequantum 0E-17 0.0E-16 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
59 samq043 samequantum 0E-17 0.0E-17 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
60 samq044 samequantum -0E-17 0.0E-16 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
61 samq045 samequantum 0E-17 -0.0E-17 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
62 samq046 samequantum 0E-17 -0.0E-16 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
63 samq047 samequantum -0E-17 0.0E-17 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
64 samq048 samequantum -0E-17 -0.0E-16 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
65 samq049 samequantum -0E-17 -0.0E-17 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
66 |
|
43360
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
67 -- Nmax, Nmin, Ntiny |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
68 samq051 samequantum 9.99999999E+999 9.99999999E+999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
69 samq052 samequantum 1E-999 1E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
70 samq053 samequantum 1.00000000E-999 1.00000000E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
71 samq054 samequantum 1E-1007 1E-1007 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
72 samq055 samequantum 9.99999999E+999 9.99999999E+999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
73 samq056 samequantum 1E-999 1E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
74 samq057 samequantum 1.00000000E-999 1.00000000E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
75 samq058 samequantum 1E-1007 1E-1007 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
76 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
77 samq061 samequantum -1E-1007 -1E-1007 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
78 samq062 samequantum -1.00000000E-999 -1.00000000E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
79 samq063 samequantum -1E-999 -1E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
80 samq064 samequantum -9.99999999E+999 -9.99999999E+999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
81 samq065 samequantum -1E-1007 -1E-1007 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
82 samq066 samequantum -1.00000000E-999 -1.00000000E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
83 samq067 samequantum -1E-999 -1E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
84 samq068 samequantum -9.99999999E+999 -9.99999999E+999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
85 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
86 samq071 samequantum -4E-1007 -1E-1007 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
87 samq072 samequantum -4.00000000E-999 -1.00004000E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
88 samq073 samequantum -4E-999 -1E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
89 samq074 samequantum -4.99999999E+999 -9.99949999E+999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
90 samq075 samequantum -4E-1007 -1E-1007 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
91 samq076 samequantum -4.00000000E-999 -1.00400000E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
92 samq077 samequantum -4E-999 -1E-999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
93 samq078 samequantum -4.99999999E+999 -9.94999999E+999 -> 1 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
94 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
95 samq081 samequantum -4E-1006 -1E-1007 -> 0 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
96 samq082 samequantum -4.00000000E-999 -1.00004000E-996 -> 0 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
97 samq083 samequantum -4E-996 -1E-999 -> 0 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
98 samq084 samequantum -4.99999999E+999 -9.99949999E+996 -> 0 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
99 samq085 samequantum -4E-1006 -1E-1007 -> 0 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
100 samq086 samequantum -4.00000000E-999 -1.00400000E-996 -> 0 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
101 samq087 samequantum -4E-996 -1E-999 -> 0 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
102 samq088 samequantum -4.99999999E+999 -9.94999999E+996 -> 0 |
|
63f3154c731d
Merged the decimal-branch (revisions 54886 to 58140). Decimal is now
Facundo Batista <facundobatista@gmail.com>
parents:
33158
diff
changeset
|
103 |
|
32451
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
104 -- specials & combinations |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
105 samq0110 samequantum -Inf -Inf -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
106 samq0111 samequantum -Inf Inf -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
107 samq0112 samequantum -Inf NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
108 samq0113 samequantum -Inf -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
109 samq0114 samequantum -Inf -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
110 samq0115 samequantum -Inf -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
111 samq0116 samequantum -Inf -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
112 samq0117 samequantum -Inf -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
113 samq0118 samequantum -Inf -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
114 samq0119 samequantum -Inf 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
115 samq0120 samequantum -Inf 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
116 samq0121 samequantum -Inf 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
117 samq0122 samequantum -Inf 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
118 samq0123 samequantum -Inf 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
119 samq0124 samequantum -Inf 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
120 samq0125 samequantum -Inf sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
121 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
122 samq0210 samequantum Inf -Inf -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
123 samq0211 samequantum Inf Inf -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
124 samq0212 samequantum Inf NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
125 samq0213 samequantum Inf -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
126 samq0214 samequantum Inf -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
127 samq0215 samequantum Inf -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
128 samq0216 samequantum Inf -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
129 samq0217 samequantum Inf -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
130 samq0218 samequantum Inf -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
131 samq0219 samequantum Inf 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
132 samq0220 samequantum Inf 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
133 samq0221 samequantum Inf 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
134 samq0222 samequantum Inf 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
135 samq0223 samequantum Inf 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
136 samq0224 samequantum Inf 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
137 samq0225 samequantum Inf sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
138 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
139 samq0310 samequantum NaN -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
140 samq0311 samequantum NaN Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
141 samq0312 samequantum NaN NaN -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
142 samq0313 samequantum NaN -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
143 samq0314 samequantum NaN -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
144 samq0315 samequantum NaN -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
145 samq0316 samequantum NaN -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
146 samq0317 samequantum NaN -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
147 samq0318 samequantum NaN -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
148 samq0319 samequantum NaN 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
149 samq0320 samequantum NaN 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
150 samq0321 samequantum NaN 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
151 samq0322 samequantum NaN 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
152 samq0323 samequantum NaN 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
153 samq0324 samequantum NaN 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
154 samq0325 samequantum NaN sNaN -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
155 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
156 samq0410 samequantum -7E+3 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
157 samq0411 samequantum -7E+3 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
158 samq0412 samequantum -7E+3 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
159 samq0413 samequantum -7E+3 -7E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
160 samq0414 samequantum -7E+3 -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
161 samq0415 samequantum -7E+3 -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
162 samq0416 samequantum -7E+3 -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
163 samq0417 samequantum -7E+3 -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
164 samq0418 samequantum -7E+3 -0E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
165 samq0419 samequantum -7E+3 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
166 samq0420 samequantum -7E+3 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
167 samq0421 samequantum -7E+3 0E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
168 samq0422 samequantum -7E+3 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
169 samq0423 samequantum -7E+3 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
170 samq0424 samequantum -7E+3 7E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
171 samq0425 samequantum -7E+3 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
172 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
173 samq0510 samequantum -7 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
174 samq0511 samequantum -7 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
175 samq0512 samequantum -7 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
176 samq0513 samequantum -7 -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
177 samq0514 samequantum -7 -7 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
178 samq0515 samequantum -7 -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
179 samq0516 samequantum -7 -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
180 samq0517 samequantum -7 -0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
181 samq0518 samequantum -7 -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
182 samq0519 samequantum -7 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
183 samq0520 samequantum -7 0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
184 samq0521 samequantum -7 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
185 samq0522 samequantum -7 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
186 samq0523 samequantum -7 7 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
187 samq0524 samequantum -7 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
188 samq0525 samequantum -7 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
189 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
190 samq0610 samequantum -7E-3 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
191 samq0611 samequantum -7E-3 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
192 samq0612 samequantum -7E-3 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
193 samq0613 samequantum -7E-3 -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
194 samq0614 samequantum -7E-3 -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
195 samq0615 samequantum -7E-3 -7E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
196 samq0616 samequantum -7E-3 -0E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
197 samq0617 samequantum -7E-3 -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
198 samq0618 samequantum -7E-3 -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
199 samq0619 samequantum -7E-3 0E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
200 samq0620 samequantum -7E-3 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
201 samq0621 samequantum -7E-3 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
202 samq0622 samequantum -7E-3 7E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
203 samq0623 samequantum -7E-3 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
204 samq0624 samequantum -7E-3 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
205 samq0625 samequantum -7E-3 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
206 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
207 samq0710 samequantum -0E-3 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
208 samq0711 samequantum -0E-3 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
209 samq0712 samequantum -0E-3 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
210 samq0713 samequantum -0E-3 -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
211 samq0714 samequantum -0E-3 -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
212 samq0715 samequantum -0E-3 -7E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
213 samq0716 samequantum -0E-3 -0E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
214 samq0717 samequantum -0E-3 -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
215 samq0718 samequantum -0E-3 -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
216 samq0719 samequantum -0E-3 0E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
217 samq0720 samequantum -0E-3 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
218 samq0721 samequantum -0E-3 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
219 samq0722 samequantum -0E-3 7E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
220 samq0723 samequantum -0E-3 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
221 samq0724 samequantum -0E-3 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
222 samq0725 samequantum -0E-3 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
223 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
224 samq0810 samequantum -0 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
225 samq0811 samequantum -0 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
226 samq0812 samequantum -0 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
227 samq0813 samequantum -0 -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
228 samq0814 samequantum -0 -7 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
229 samq0815 samequantum -0 -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
230 samq0816 samequantum -0 -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
231 samq0817 samequantum -0 -0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
232 samq0818 samequantum -0 -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
233 samq0819 samequantum -0 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
234 samq0820 samequantum -0 0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
235 samq0821 samequantum -0 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
236 samq0822 samequantum -0 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
237 samq0823 samequantum -0 7 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
238 samq0824 samequantum -0 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
239 samq0825 samequantum -0 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
240 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
241 samq0910 samequantum -0E+3 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
242 samq0911 samequantum -0E+3 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
243 samq0912 samequantum -0E+3 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
244 samq0913 samequantum -0E+3 -7E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
245 samq0914 samequantum -0E+3 -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
246 samq0915 samequantum -0E+3 -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
247 samq0916 samequantum -0E+3 -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
248 samq0917 samequantum -0E+3 -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
249 samq0918 samequantum -0E+3 -0E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
250 samq0919 samequantum -0E+3 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
251 samq0920 samequantum -0E+3 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
252 samq0921 samequantum -0E+3 0E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
253 samq0922 samequantum -0E+3 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
254 samq0923 samequantum -0E+3 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
255 samq0924 samequantum -0E+3 7E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
256 samq0925 samequantum -0E+3 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
257 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
258 samq1110 samequantum 0E-3 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
259 samq1111 samequantum 0E-3 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
260 samq1112 samequantum 0E-3 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
261 samq1113 samequantum 0E-3 -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
262 samq1114 samequantum 0E-3 -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
263 samq1115 samequantum 0E-3 -7E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
264 samq1116 samequantum 0E-3 -0E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
265 samq1117 samequantum 0E-3 -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
266 samq1118 samequantum 0E-3 -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
267 samq1119 samequantum 0E-3 0E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
268 samq1120 samequantum 0E-3 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
269 samq1121 samequantum 0E-3 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
270 samq1122 samequantum 0E-3 7E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
271 samq1123 samequantum 0E-3 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
272 samq1124 samequantum 0E-3 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
273 samq1125 samequantum 0E-3 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
274 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
275 samq1210 samequantum 0 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
276 samq1211 samequantum 0 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
277 samq1212 samequantum 0 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
278 samq1213 samequantum 0 -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
279 samq1214 samequantum 0 -7 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
280 samq1215 samequantum 0 -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
281 samq1216 samequantum 0 -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
282 samq1217 samequantum 0 -0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
283 samq1218 samequantum 0 -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
284 samq1219 samequantum 0 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
285 samq1220 samequantum 0 0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
286 samq1221 samequantum 0 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
287 samq1222 samequantum 0 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
288 samq1223 samequantum 0 7 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
289 samq1224 samequantum 0 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
290 samq1225 samequantum 0 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
291 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
292 samq1310 samequantum 0E+3 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
293 samq1311 samequantum 0E+3 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
294 samq1312 samequantum 0E+3 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
295 samq1313 samequantum 0E+3 -7E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
296 samq1314 samequantum 0E+3 -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
297 samq1315 samequantum 0E+3 -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
298 samq1316 samequantum 0E+3 -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
299 samq1317 samequantum 0E+3 -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
300 samq1318 samequantum 0E+3 -0E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
301 samq1319 samequantum 0E+3 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
302 samq1320 samequantum 0E+3 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
303 samq1321 samequantum 0E+3 0E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
304 samq1322 samequantum 0E+3 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
305 samq1323 samequantum 0E+3 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
306 samq1324 samequantum 0E+3 7E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
307 samq1325 samequantum 0E+3 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
308 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
309 samq1410 samequantum 7E-3 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
310 samq1411 samequantum 7E-3 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
311 samq1412 samequantum 7E-3 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
312 samq1413 samequantum 7E-3 -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
313 samq1414 samequantum 7E-3 -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
314 samq1415 samequantum 7E-3 -7E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
315 samq1416 samequantum 7E-3 -0E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
316 samq1417 samequantum 7E-3 -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
317 samq1418 samequantum 7E-3 -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
318 samq1419 samequantum 7E-3 0E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
319 samq1420 samequantum 7E-3 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
320 samq1421 samequantum 7E-3 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
321 samq1422 samequantum 7E-3 7E-3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
322 samq1423 samequantum 7E-3 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
323 samq1424 samequantum 7E-3 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
324 samq1425 samequantum 7E-3 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
325 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
326 samq1510 samequantum 7 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
327 samq1511 samequantum 7 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
328 samq1512 samequantum 7 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
329 samq1513 samequantum 7 -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
330 samq1514 samequantum 7 -7 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
331 samq1515 samequantum 7 -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
332 samq1516 samequantum 7 -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
333 samq1517 samequantum 7 -0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
334 samq1518 samequantum 7 -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
335 samq1519 samequantum 7 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
336 samq1520 samequantum 7 0 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
337 samq1521 samequantum 7 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
338 samq1522 samequantum 7 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
339 samq1523 samequantum 7 7 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
340 samq1524 samequantum 7 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
341 samq1525 samequantum 7 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
342 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
343 samq1610 samequantum 7E+3 -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
344 samq1611 samequantum 7E+3 Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
345 samq1612 samequantum 7E+3 NaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
346 samq1613 samequantum 7E+3 -7E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
347 samq1614 samequantum 7E+3 -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
348 samq1615 samequantum 7E+3 -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
349 samq1616 samequantum 7E+3 -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
350 samq1617 samequantum 7E+3 -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
351 samq1618 samequantum 7E+3 -0E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
352 samq1619 samequantum 7E+3 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
353 samq1620 samequantum 7E+3 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
354 samq1621 samequantum 7E+3 0E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
355 samq1622 samequantum 7E+3 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
356 samq1623 samequantum 7E+3 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
357 samq1624 samequantum 7E+3 7E+3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
358 samq1625 samequantum 7E+3 sNaN -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
359 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
360 samq1710 samequantum sNaN -Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
361 samq1711 samequantum sNaN Inf -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
362 samq1712 samequantum sNaN NaN -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
363 samq1713 samequantum sNaN -7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
364 samq1714 samequantum sNaN -7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
365 samq1715 samequantum sNaN -7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
366 samq1716 samequantum sNaN -0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
367 samq1717 samequantum sNaN -0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
368 samq1718 samequantum sNaN -0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
369 samq1719 samequantum sNaN 0E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
370 samq1720 samequantum sNaN 0 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
371 samq1721 samequantum sNaN 0E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
372 samq1722 samequantum sNaN 7E-3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
373 samq1723 samequantum sNaN 7 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
374 samq1724 samequantum sNaN 7E+3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
375 samq1725 samequantum sNaN sNaN -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
376 -- noisy NaNs |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
377 samq1730 samequantum sNaN3 sNaN3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
378 samq1731 samequantum sNaN3 sNaN4 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
379 samq1732 samequantum NaN3 NaN3 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
380 samq1733 samequantum NaN3 NaN4 -> 1 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
381 samq1734 samequantum sNaN3 3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
382 samq1735 samequantum NaN3 3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
383 samq1736 samequantum 4 sNaN4 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
384 samq1737 samequantum 3 NaN3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
385 samq1738 samequantum Inf sNaN4 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
386 samq1739 samequantum -Inf NaN3 -> 0 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
387 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
388 |
|
d2c1c7ae7cf4
Move Decimal from the sandbox into production.
Raymond Hettinger <python@rcn.com>
parents:
diff
changeset
|
389 |
