annotate Lib/test/decimaltestdata/ddDivideInt.decTest @ 79675:c0a2294de787 2.7

Issue #16199: Backport 2to3 typo fix from 3.2.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Thu, 11 Oct 2012 16:15:46 -0700
parents b36cb4602e21
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
68247
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
1 ------------------------------------------------------------------------
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
2 -- ddDivideInt.decTest -- decDouble integer division --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
3 -- Copyright (c) IBM Corporation, 1981, 2008. All rights reserved. --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
4 ------------------------------------------------------------------------
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
5 -- Please see the document "General Decimal Arithmetic Testcases" --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
6 -- at http://www2.hursley.ibm.com/decimal for the description of --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
7 -- these testcases. --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
8 -- --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
9 -- These testcases are experimental ('beta' versions), and they --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
10 -- may contain errors. They are offered on an as-is basis. In --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
11 -- particular, achieving the same results as the tests here is not --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
12 -- a guarantee that an implementation complies with any Standard --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
13 -- or specification. The tests are not exhaustive. --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
14 -- --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
15 -- Please send comments, suggestions, and corrections to the author: --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
16 -- Mike Cowlishaw, IBM Fellow --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
17 -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
18 -- mfc@uk.ibm.com --
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
19 ------------------------------------------------------------------------
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
20 version: 2.59
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
21
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
22 precision: 16
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
23 maxExponent: 384
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
24 minExponent: -383
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
25 extended: 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
26 clamp: 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
27 rounding: half_even
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
28
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
29 dddvi001 divideint 1 1 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
30 dddvi002 divideint 2 1 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
31 dddvi003 divideint 1 2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
32 dddvi004 divideint 2 2 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
33 dddvi005 divideint 0 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
34 dddvi006 divideint 0 2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
35 dddvi007 divideint 1 3 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
36 dddvi008 divideint 2 3 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
37 dddvi009 divideint 3 3 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
38
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
39 dddvi010 divideint 2.4 1 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
40 dddvi011 divideint 2.4 -1 -> -2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
41 dddvi012 divideint -2.4 1 -> -2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
42 dddvi013 divideint -2.4 -1 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
43 dddvi014 divideint 2.40 1 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
44 dddvi015 divideint 2.400 1 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
45 dddvi016 divideint 2.4 2 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
46 dddvi017 divideint 2.400 2 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
47 dddvi018 divideint 2. 2 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
48 dddvi019 divideint 20 20 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
49
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
50 dddvi020 divideint 187 187 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
51 dddvi021 divideint 5 2 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
52 dddvi022 divideint 5 2.0 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
53 dddvi023 divideint 5 2.000 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
54 dddvi024 divideint 5 0.200 -> 25
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
55 dddvi025 divideint 5 0.200 -> 25
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
56
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
57 dddvi030 divideint 1 2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
58 dddvi031 divideint 1 4 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
59 dddvi032 divideint 1 8 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
60 dddvi033 divideint 1 16 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
61 dddvi034 divideint 1 32 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
62 dddvi035 divideint 1 64 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
63 dddvi040 divideint 1 -2 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
64 dddvi041 divideint 1 -4 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
65 dddvi042 divideint 1 -8 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
66 dddvi043 divideint 1 -16 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
67 dddvi044 divideint 1 -32 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
68 dddvi045 divideint 1 -64 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
69 dddvi050 divideint -1 2 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
70 dddvi051 divideint -1 4 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
71 dddvi052 divideint -1 8 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
72 dddvi053 divideint -1 16 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
73 dddvi054 divideint -1 32 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
74 dddvi055 divideint -1 64 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
75 dddvi060 divideint -1 -2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
76 dddvi061 divideint -1 -4 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
77 dddvi062 divideint -1 -8 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
78 dddvi063 divideint -1 -16 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
79 dddvi064 divideint -1 -32 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
80 dddvi065 divideint -1 -64 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
81
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
82 -- similar with powers of ten
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
83 dddvi160 divideint 1 1 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
84 dddvi161 divideint 1 10 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
85 dddvi162 divideint 1 100 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
86 dddvi163 divideint 1 1000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
87 dddvi164 divideint 1 10000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
88 dddvi165 divideint 1 100000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
89 dddvi166 divideint 1 1000000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
90 dddvi167 divideint 1 10000000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
91 dddvi168 divideint 1 100000000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
92 dddvi170 divideint 1 -1 -> -1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
93 dddvi171 divideint 1 -10 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
94 dddvi172 divideint 1 -100 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
95 dddvi173 divideint 1 -1000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
96 dddvi174 divideint 1 -10000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
97 dddvi175 divideint 1 -100000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
98 dddvi176 divideint 1 -1000000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
99 dddvi177 divideint 1 -10000000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
100 dddvi178 divideint 1 -100000000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
101 dddvi180 divideint -1 1 -> -1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
102 dddvi181 divideint -1 10 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
103 dddvi182 divideint -1 100 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
104 dddvi183 divideint -1 1000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
105 dddvi184 divideint -1 10000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
106 dddvi185 divideint -1 100000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
107 dddvi186 divideint -1 1000000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
108 dddvi187 divideint -1 10000000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
109 dddvi188 divideint -1 100000000 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
110 dddvi190 divideint -1 -1 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
111 dddvi191 divideint -1 -10 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
112 dddvi192 divideint -1 -100 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
113 dddvi193 divideint -1 -1000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
114 dddvi194 divideint -1 -10000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
115 dddvi195 divideint -1 -100000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
116 dddvi196 divideint -1 -1000000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
117 dddvi197 divideint -1 -10000000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
118 dddvi198 divideint -1 -100000000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
119
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
120 -- some long operand (at p=9) cases
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
121 dddvi070 divideint 999999999 1 -> 999999999
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
122 dddvi071 divideint 999999999.4 1 -> 999999999
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
123 dddvi072 divideint 999999999.5 1 -> 999999999
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
124 dddvi073 divideint 999999999.9 1 -> 999999999
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
125 dddvi074 divideint 999999999.999 1 -> 999999999
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
126
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
127 dddvi090 divideint 0. 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
128 dddvi091 divideint .0 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
129 dddvi092 divideint 0.00 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
130 dddvi093 divideint 0.00E+9 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
131 dddvi094 divideint 0.0000E-50 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
132
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
133 dddvi100 divideint 1 1 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
134 dddvi101 divideint 1 2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
135 dddvi102 divideint 1 3 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
136 dddvi103 divideint 1 4 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
137 dddvi104 divideint 1 5 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
138 dddvi105 divideint 1 6 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
139 dddvi106 divideint 1 7 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
140 dddvi107 divideint 1 8 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
141 dddvi108 divideint 1 9 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
142 dddvi109 divideint 1 10 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
143 dddvi110 divideint 1 1 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
144 dddvi111 divideint 2 1 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
145 dddvi112 divideint 3 1 -> 3
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
146 dddvi113 divideint 4 1 -> 4
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
147 dddvi114 divideint 5 1 -> 5
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
148 dddvi115 divideint 6 1 -> 6
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
149 dddvi116 divideint 7 1 -> 7
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
150 dddvi117 divideint 8 1 -> 8
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
151 dddvi118 divideint 9 1 -> 9
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
152 dddvi119 divideint 10 1 -> 10
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
153
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
154 -- from DiagBigDecimal
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
155 dddvi131 divideint 101.3 1 -> 101
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
156 dddvi132 divideint 101.0 1 -> 101
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
157 dddvi133 divideint 101.3 3 -> 33
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
158 dddvi134 divideint 101.0 3 -> 33
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
159 dddvi135 divideint 2.4 1 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
160 dddvi136 divideint 2.400 1 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
161 dddvi137 divideint 18 18 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
162 dddvi138 divideint 1120 1000 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
163 dddvi139 divideint 2.4 2 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
164 dddvi140 divideint 2.400 2 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
165 dddvi141 divideint 0.5 2.000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
166 dddvi142 divideint 8.005 7 -> 1
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
167 dddvi143 divideint 5 2 -> 2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
168 dddvi144 divideint 0 2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
169 dddvi145 divideint 0.00 2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
170
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
171 -- Others
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
172 dddvi150 divideint 12345 4.999 -> 2469
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
173 dddvi151 divideint 12345 4.99 -> 2473
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
174 dddvi152 divideint 12345 4.9 -> 2519
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
175 dddvi153 divideint 12345 5 -> 2469
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
176 dddvi154 divideint 12345 5.1 -> 2420
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
177 dddvi155 divideint 12345 5.01 -> 2464
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
178 dddvi156 divideint 12345 5.001 -> 2468
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
179 dddvi157 divideint 101 7.6 -> 13
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
180
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
181 -- Various flavours of divideint by 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
182 dddvi201 divideint 0 0 -> NaN Division_undefined
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
183 dddvi202 divideint 0.0E5 0 -> NaN Division_undefined
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
184 dddvi203 divideint 0.000 0 -> NaN Division_undefined
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
185 dddvi204 divideint 0.0001 0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
186 dddvi205 divideint 0.01 0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
187 dddvi206 divideint 0.1 0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
188 dddvi207 divideint 1 0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
189 dddvi208 divideint 1 0.0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
190 dddvi209 divideint 10 0.0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
191 dddvi210 divideint 1E+100 0.0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
192 dddvi211 divideint 1E+380 0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
193 dddvi214 divideint -0.0001 0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
194 dddvi215 divideint -0.01 0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
195 dddvi216 divideint -0.1 0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
196 dddvi217 divideint -1 0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
197 dddvi218 divideint -1 0.0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
198 dddvi219 divideint -10 0.0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
199 dddvi220 divideint -1E+100 0.0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
200 dddvi221 divideint -1E+380 0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
201
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
202 -- test some cases that are close to exponent overflow
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
203 dddvi270 divideint 1 1e384 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
204 dddvi271 divideint 1 0.9e384 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
205 dddvi272 divideint 1 0.99e384 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
206 dddvi273 divideint 1 0.9999999999999999e384 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
207 dddvi274 divideint 9e384 1 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
208 dddvi275 divideint 9.9e384 1 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
209 dddvi276 divideint 9.99e384 1 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
210 dddvi277 divideint 9.999999999999999e384 1 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
211
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
212 dddvi280 divideint 0.1 9e-383 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
213 dddvi281 divideint 0.1 99e-383 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
214 dddvi282 divideint 0.1 999e-383 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
215 dddvi283 divideint 0.1 9e-382 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
216 dddvi284 divideint 0.1 99e-382 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
217
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
218 -- GD edge cases: lhs smaller than rhs but more digits
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
219 dddvi301 divideint 0.9 2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
220 dddvi302 divideint 0.9 2.0 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
221 dddvi303 divideint 0.9 2.1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
222 dddvi304 divideint 0.9 2.00 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
223 dddvi305 divideint 0.9 2.01 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
224 dddvi306 divideint 0.12 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
225 dddvi307 divideint 0.12 1.0 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
226 dddvi308 divideint 0.12 1.00 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
227 dddvi309 divideint 0.12 1.0 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
228 dddvi310 divideint 0.12 1.00 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
229 dddvi311 divideint 0.12 2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
230 dddvi312 divideint 0.12 2.0 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
231 dddvi313 divideint 0.12 2.1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
232 dddvi314 divideint 0.12 2.00 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
233 dddvi315 divideint 0.12 2.01 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
234
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
235 -- edge cases of impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
236 dddvi330 divideint 1234567890123456 10 -> 123456789012345
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
237 dddvi331 divideint 1234567890123456 1 -> 1234567890123456
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
238 dddvi332 divideint 1234567890123456 0.1 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
239 dddvi333 divideint 1234567890123456 0.01 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
240
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
241 -- overflow and underflow tests [from divide]
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
242 dddvi1051 divideint 1e+277 1e-311 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
243 dddvi1052 divideint 1e+277 -1e-311 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
244 dddvi1053 divideint -1e+277 1e-311 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
245 dddvi1054 divideint -1e+277 -1e-311 -> NaN Division_impossible
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
246 dddvi1055 divideint 1e-277 1e+311 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
247 dddvi1056 divideint 1e-277 -1e+311 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
248 dddvi1057 divideint -1e-277 1e+311 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
249 dddvi1058 divideint -1e-277 -1e+311 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
250
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
251 -- 'subnormal' boundary (all hard underflow or overflow in base arithemtic)
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
252 dddvi1060 divideint 1e-291 1e+101 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
253 dddvi1061 divideint 1e-291 1e+102 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
254 dddvi1062 divideint 1e-291 1e+103 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
255 dddvi1063 divideint 1e-291 1e+104 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
256 dddvi1064 divideint 1e-291 1e+105 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
257 dddvi1065 divideint 1e-291 1e+106 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
258 dddvi1066 divideint 1e-291 1e+107 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
259 dddvi1067 divideint 1e-291 1e+108 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
260 dddvi1068 divideint 1e-291 1e+109 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
261 dddvi1069 divideint 1e-291 1e+110 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
262
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
263 dddvi1101 divideint 1.0000E-394 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
264 dddvi1102 divideint 1.000E-394 1e+1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
265 dddvi1103 divideint 1.00E-394 1e+2 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
266
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
267 dddvi1118 divideint 1E-394 1e+4 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
268 dddvi1119 divideint 3E-394 -1e+5 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
269 dddvi1120 divideint 5E-394 1e+5 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
270
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
271 dddvi1124 divideint 1E-394 -1e+4 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
272 dddvi1130 divideint 3.0E-394 -1e+5 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
273
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
274 dddvi1131 divideint 1.0E-199 1e+200 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
275 dddvi1132 divideint 1.0E-199 1e+199 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
276 dddvi1133 divideint 1.0E-199 1e+198 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
277 dddvi1134 divideint 2.0E-199 2e+198 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
278 dddvi1135 divideint 4.0E-199 4e+198 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
279
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
280 -- long operand checks
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
281 dddvi401 divideint 12345678000 100 -> 123456780
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
282 dddvi402 divideint 1 12345678000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
283 dddvi403 divideint 1234567800 10 -> 123456780
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
284 dddvi404 divideint 1 1234567800 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
285 dddvi405 divideint 1234567890 10 -> 123456789
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
286 dddvi406 divideint 1 1234567890 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
287 dddvi407 divideint 1234567891 10 -> 123456789
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
288 dddvi408 divideint 1 1234567891 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
289 dddvi409 divideint 12345678901 100 -> 123456789
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
290 dddvi410 divideint 1 12345678901 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
291 dddvi411 divideint 1234567896 10 -> 123456789
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
292 dddvi412 divideint 1 1234567896 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
293 dddvi413 divideint 12345678948 100 -> 123456789
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
294 dddvi414 divideint 12345678949 100 -> 123456789
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
295 dddvi415 divideint 12345678950 100 -> 123456789
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
296 dddvi416 divideint 12345678951 100 -> 123456789
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
297 dddvi417 divideint 12345678999 100 -> 123456789
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
298 dddvi441 divideint 12345678000 1 -> 12345678000
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
299 dddvi442 divideint 1 12345678000 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
300 dddvi443 divideint 1234567800 1 -> 1234567800
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
301 dddvi444 divideint 1 1234567800 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
302 dddvi445 divideint 1234567890 1 -> 1234567890
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
303 dddvi446 divideint 1 1234567890 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
304 dddvi447 divideint 1234567891 1 -> 1234567891
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
305 dddvi448 divideint 1 1234567891 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
306 dddvi449 divideint 12345678901 1 -> 12345678901
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
307 dddvi450 divideint 1 12345678901 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
308 dddvi451 divideint 1234567896 1 -> 1234567896
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
309 dddvi452 divideint 1 1234567896 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
310
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
311 -- more zeros, etc.
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
312 dddvi531 divideint 5.00 1E-3 -> 5000
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
313 dddvi532 divideint 00.00 0.000 -> NaN Division_undefined
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
314 dddvi533 divideint 00.00 0E-3 -> NaN Division_undefined
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
315 dddvi534 divideint 0 -0 -> NaN Division_undefined
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
316 dddvi535 divideint -0 0 -> NaN Division_undefined
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
317 dddvi536 divideint -0 -0 -> NaN Division_undefined
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
318
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
319 dddvi541 divideint 0 -1 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
320 dddvi542 divideint -0 -1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
321 dddvi543 divideint 0 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
322 dddvi544 divideint -0 1 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
323 dddvi545 divideint -1 0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
324 dddvi546 divideint -1 -0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
325 dddvi547 divideint 1 0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
326 dddvi548 divideint 1 -0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
327
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
328 dddvi551 divideint 0.0 -1 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
329 dddvi552 divideint -0.0 -1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
330 dddvi553 divideint 0.0 1 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
331 dddvi554 divideint -0.0 1 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
332 dddvi555 divideint -1.0 0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
333 dddvi556 divideint -1.0 -0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
334 dddvi557 divideint 1.0 0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
335 dddvi558 divideint 1.0 -0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
336
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
337 dddvi561 divideint 0 -1.0 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
338 dddvi562 divideint -0 -1.0 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
339 dddvi563 divideint 0 1.0 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
340 dddvi564 divideint -0 1.0 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
341 dddvi565 divideint -1 0.0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
342 dddvi566 divideint -1 -0.0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
343 dddvi567 divideint 1 0.0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
344 dddvi568 divideint 1 -0.0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
345
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
346 dddvi571 divideint 0.0 -1.0 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
347 dddvi572 divideint -0.0 -1.0 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
348 dddvi573 divideint 0.0 1.0 -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
349 dddvi574 divideint -0.0 1.0 -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
350 dddvi575 divideint -1.0 0.0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
351 dddvi576 divideint -1.0 -0.0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
352 dddvi577 divideint 1.0 0.0 -> Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
353 dddvi578 divideint 1.0 -0.0 -> -Infinity Division_by_zero
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
354
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
355 -- Specials
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
356 dddvi580 divideint Inf -Inf -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
357 dddvi581 divideint Inf -1000 -> -Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
358 dddvi582 divideint Inf -1 -> -Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
359 dddvi583 divideint Inf -0 -> -Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
360 dddvi584 divideint Inf 0 -> Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
361 dddvi585 divideint Inf 1 -> Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
362 dddvi586 divideint Inf 1000 -> Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
363 dddvi587 divideint Inf Inf -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
364 dddvi588 divideint -1000 Inf -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
365 dddvi589 divideint -Inf Inf -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
366 dddvi590 divideint -1 Inf -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
367 dddvi591 divideint -0 Inf -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
368 dddvi592 divideint 0 Inf -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
369 dddvi593 divideint 1 Inf -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
370 dddvi594 divideint 1000 Inf -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
371 dddvi595 divideint Inf Inf -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
372
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
373 dddvi600 divideint -Inf -Inf -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
374 dddvi601 divideint -Inf -1000 -> Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
375 dddvi602 divideint -Inf -1 -> Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
376 dddvi603 divideint -Inf -0 -> Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
377 dddvi604 divideint -Inf 0 -> -Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
378 dddvi605 divideint -Inf 1 -> -Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
379 dddvi606 divideint -Inf 1000 -> -Infinity
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
380 dddvi607 divideint -Inf Inf -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
381 dddvi608 divideint -1000 Inf -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
382 dddvi609 divideint -Inf -Inf -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
383 dddvi610 divideint -1 -Inf -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
384 dddvi611 divideint -0 -Inf -> 0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
385 dddvi612 divideint 0 -Inf -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
386 dddvi613 divideint 1 -Inf -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
387 dddvi614 divideint 1000 -Inf -> -0
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
388 dddvi615 divideint Inf -Inf -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
389
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
390 dddvi621 divideint NaN -Inf -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
391 dddvi622 divideint NaN -1000 -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
392 dddvi623 divideint NaN -1 -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
393 dddvi624 divideint NaN -0 -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
394 dddvi625 divideint NaN 0 -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
395 dddvi626 divideint NaN 1 -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
396 dddvi627 divideint NaN 1000 -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
397 dddvi628 divideint NaN Inf -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
398 dddvi629 divideint NaN NaN -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
399 dddvi630 divideint -Inf NaN -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
400 dddvi631 divideint -1000 NaN -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
401 dddvi632 divideint -1 NaN -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
402 dddvi633 divideint -0 NaN -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
403 dddvi634 divideint 0 NaN -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
404 dddvi635 divideint 1 NaN -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
405 dddvi636 divideint 1000 NaN -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
406 dddvi637 divideint Inf NaN -> NaN
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
407
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
408 dddvi641 divideint sNaN -Inf -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
409 dddvi642 divideint sNaN -1000 -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
410 dddvi643 divideint sNaN -1 -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
411 dddvi644 divideint sNaN -0 -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
412 dddvi645 divideint sNaN 0 -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
413 dddvi646 divideint sNaN 1 -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
414 dddvi647 divideint sNaN 1000 -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
415 dddvi648 divideint sNaN NaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
416 dddvi649 divideint sNaN sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
417 dddvi650 divideint NaN sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
418 dddvi651 divideint -Inf sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
419 dddvi652 divideint -1000 sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
420 dddvi653 divideint -1 sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
421 dddvi654 divideint -0 sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
422 dddvi655 divideint 0 sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
423 dddvi656 divideint 1 sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
424 dddvi657 divideint 1000 sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
425 dddvi658 divideint Inf sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
426 dddvi659 divideint NaN sNaN -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
427
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
428 -- propagating NaNs
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
429 dddvi661 divideint NaN9 -Inf -> NaN9
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
430 dddvi662 divideint NaN8 1000 -> NaN8
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
431 dddvi663 divideint NaN7 Inf -> NaN7
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
432 dddvi664 divideint -NaN6 NaN5 -> -NaN6
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
433 dddvi665 divideint -Inf NaN4 -> NaN4
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
434 dddvi666 divideint -1000 NaN3 -> NaN3
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
435 dddvi667 divideint Inf -NaN2 -> -NaN2
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
436
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
437 dddvi671 divideint -sNaN99 -Inf -> -NaN99 Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
438 dddvi672 divideint sNaN98 -1 -> NaN98 Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
439 dddvi673 divideint sNaN97 NaN -> NaN97 Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
440 dddvi674 divideint sNaN96 sNaN94 -> NaN96 Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
441 dddvi675 divideint NaN95 sNaN93 -> NaN93 Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
442 dddvi676 divideint -Inf sNaN92 -> NaN92 Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
443 dddvi677 divideint 0 sNaN91 -> NaN91 Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
444 dddvi678 divideint Inf -sNaN90 -> -NaN90 Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
445 dddvi679 divideint NaN sNaN89 -> NaN89 Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
446
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
447 -- Null tests
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
448 dddvi900 divideint 10 # -> NaN Invalid_operation
e2e182c40b5a Add updated .hgeol file and fix newlines in the 2.7 branch.
Georg Brandl <georg@python.org>
parents: 56838
diff changeset
449 dddvi901 divideint # 10 -> NaN Invalid_operation