OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [go.test/] [test/] [cmplxdivide1.go] - Blame information for rev 700

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 700 jeremybenn
// # generated by cmplxdivide.c
2
 
3
package main
4
var tests = []Test{
5
        Test{complex(0, 0), complex(0, 0), complex(-nan, -nan)},
6
        Test{complex(0, 0), complex(0, 1), complex(0, 0)},
7
        Test{complex(0, 0), complex(0, -1), complex(negzero, 0)},
8
        Test{complex(0, 0), complex(0, 2), complex(0, 0)},
9
        Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
10
        Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
11
        Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
12
        Test{complex(0, 0), complex(1, 0), complex(0, 0)},
13
        Test{complex(0, 0), complex(1, 1), complex(0, 0)},
14
        Test{complex(0, 0), complex(1, -1), complex(0, 0)},
15
        Test{complex(0, 0), complex(1, 2), complex(0, 0)},
16
        Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
17
        Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
18
        Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
19
        Test{complex(0, 0), complex(-1, 0), complex(negzero, negzero)},
20
        Test{complex(0, 0), complex(-1, 1), complex(negzero, negzero)},
21
        Test{complex(0, 0), complex(-1, -1), complex(negzero, negzero)},
22
        Test{complex(0, 0), complex(-1, 2), complex(0, negzero)},
23
        Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
24
        Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
25
        Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
26
        Test{complex(0, 0), complex(2, 0), complex(0, 0)},
27
        Test{complex(0, 0), complex(2, 1), complex(0, 0)},
28
        Test{complex(0, 0), complex(2, -1), complex(0, 0)},
29
        Test{complex(0, 0), complex(2, 2), complex(0, 0)},
30
        Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
31
        Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
32
        Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
33
        Test{complex(0, 0), complex(nan, 0), complex(nan, nan)},
34
        Test{complex(0, 0), complex(nan, 1), complex(nan, nan)},
35
        Test{complex(0, 0), complex(nan, -1), complex(nan, nan)},
36
        Test{complex(0, 0), complex(nan, 2), complex(nan, nan)},
37
        Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
38
        Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
39
        Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
40
        Test{complex(0, 0), complex(inf, 0), complex(0, 0)},
41
        Test{complex(0, 0), complex(inf, 1), complex(0, 0)},
42
        Test{complex(0, 0), complex(inf, -1), complex(0, 0)},
43
        Test{complex(0, 0), complex(inf, 2), complex(0, 0)},
44
        Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
45
        Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
46
        Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
47
        Test{complex(0, 0), complex(-inf, 0), complex(negzero, negzero)},
48
        Test{complex(0, 0), complex(-inf, 1), complex(negzero, negzero)},
49
        Test{complex(0, 0), complex(-inf, -1), complex(negzero, negzero)},
50
        Test{complex(0, 0), complex(-inf, 2), complex(negzero, negzero)},
51
        Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
52
        Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
53
        Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
54
        Test{complex(0, 1), complex(0, 0), complex(-nan, inf)},
55
        Test{complex(0, 1), complex(0, 1), complex(1, 0)},
56
        Test{complex(0, 1), complex(0, -1), complex(-1, 0)},
57
        Test{complex(0, 1), complex(0, 2), complex(0.5, 0)},
58
        Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
59
        Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
60
        Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
61
        Test{complex(0, 1), complex(1, 0), complex(0, 1)},
62
        Test{complex(0, 1), complex(1, 1), complex(0.5, 0.5)},
63
        Test{complex(0, 1), complex(1, -1), complex(-0.5, 0.5)},
64
        Test{complex(0, 1), complex(1, 2), complex(0.4, 0.2)},
65
        Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
66
        Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
67
        Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
68
        Test{complex(0, 1), complex(-1, 0), complex(negzero, -1)},
69
        Test{complex(0, 1), complex(-1, 1), complex(0.5, -0.5)},
70
        Test{complex(0, 1), complex(-1, -1), complex(-0.5, -0.5)},
71
        Test{complex(0, 1), complex(-1, 2), complex(0.4, -0.2)},
72
        Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
73
        Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
74
        Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
75
        Test{complex(0, 1), complex(2, 0), complex(0, 0.5)},
76
        Test{complex(0, 1), complex(2, 1), complex(0.2, 0.4)},
77
        Test{complex(0, 1), complex(2, -1), complex(-0.2, 0.4)},
78
        Test{complex(0, 1), complex(2, 2), complex(0.25, 0.25)},
79
        Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
80
        Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
81
        Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
82
        Test{complex(0, 1), complex(nan, 0), complex(nan, nan)},
83
        Test{complex(0, 1), complex(nan, 1), complex(nan, nan)},
84
        Test{complex(0, 1), complex(nan, -1), complex(nan, nan)},
85
        Test{complex(0, 1), complex(nan, 2), complex(nan, nan)},
86
        Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
87
        Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
88
        Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
89
        Test{complex(0, 1), complex(inf, 0), complex(0, 0)},
90
        Test{complex(0, 1), complex(inf, 1), complex(0, 0)},
91
        Test{complex(0, 1), complex(inf, -1), complex(0, 0)},
92
        Test{complex(0, 1), complex(inf, 2), complex(0, 0)},
93
        Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
94
        Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
95
        Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
96
        Test{complex(0, 1), complex(-inf, 0), complex(negzero, negzero)},
97
        Test{complex(0, 1), complex(-inf, 1), complex(negzero, negzero)},
98
        Test{complex(0, 1), complex(-inf, -1), complex(negzero, negzero)},
99
        Test{complex(0, 1), complex(-inf, 2), complex(negzero, negzero)},
100
        Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
101
        Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
102
        Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
103
        Test{complex(0, -1), complex(0, 0), complex(-nan, -inf)},
104
        Test{complex(0, -1), complex(0, 1), complex(-1, negzero)},
105
        Test{complex(0, -1), complex(0, -1), complex(1, negzero)},
106
        Test{complex(0, -1), complex(0, 2), complex(-0.5, negzero)},
107
        Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
108
        Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
109
        Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
110
        Test{complex(0, -1), complex(1, 0), complex(0, -1)},
111
        Test{complex(0, -1), complex(1, 1), complex(-0.5, -0.5)},
112
        Test{complex(0, -1), complex(1, -1), complex(0.5, -0.5)},
113
        Test{complex(0, -1), complex(1, 2), complex(-0.4, -0.2)},
114
        Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
115
        Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
116
        Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
117
        Test{complex(0, -1), complex(-1, 0), complex(negzero, 1)},
118
        Test{complex(0, -1), complex(-1, 1), complex(-0.5, 0.5)},
119
        Test{complex(0, -1), complex(-1, -1), complex(0.5, 0.5)},
120
        Test{complex(0, -1), complex(-1, 2), complex(-0.4, 0.2)},
121
        Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
122
        Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
123
        Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
124
        Test{complex(0, -1), complex(2, 0), complex(0, -0.5)},
125
        Test{complex(0, -1), complex(2, 1), complex(-0.2, -0.4)},
126
        Test{complex(0, -1), complex(2, -1), complex(0.2, -0.4)},
127
        Test{complex(0, -1), complex(2, 2), complex(-0.25, -0.25)},
128
        Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
129
        Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
130
        Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
131
        Test{complex(0, -1), complex(nan, 0), complex(nan, nan)},
132
        Test{complex(0, -1), complex(nan, 1), complex(nan, nan)},
133
        Test{complex(0, -1), complex(nan, -1), complex(nan, nan)},
134
        Test{complex(0, -1), complex(nan, 2), complex(nan, nan)},
135
        Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
136
        Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
137
        Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
138
        Test{complex(0, -1), complex(inf, 0), complex(0, negzero)},
139
        Test{complex(0, -1), complex(inf, 1), complex(0, negzero)},
140
        Test{complex(0, -1), complex(inf, -1), complex(0, negzero)},
141
        Test{complex(0, -1), complex(inf, 2), complex(0, negzero)},
142
        Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
143
        Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
144
        Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
145
        Test{complex(0, -1), complex(-inf, 0), complex(negzero, 0)},
146
        Test{complex(0, -1), complex(-inf, 1), complex(negzero, 0)},
147
        Test{complex(0, -1), complex(-inf, -1), complex(negzero, 0)},
148
        Test{complex(0, -1), complex(-inf, 2), complex(negzero, 0)},
149
        Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
150
        Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
151
        Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
152
        Test{complex(0, 2), complex(0, 0), complex(-nan, inf)},
153
        Test{complex(0, 2), complex(0, 1), complex(2, 0)},
154
        Test{complex(0, 2), complex(0, -1), complex(-2, 0)},
155
        Test{complex(0, 2), complex(0, 2), complex(1, 0)},
156
        Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
157
        Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
158
        Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
159
        Test{complex(0, 2), complex(1, 0), complex(0, 2)},
160
        Test{complex(0, 2), complex(1, 1), complex(1, 1)},
161
        Test{complex(0, 2), complex(1, -1), complex(-1, 1)},
162
        Test{complex(0, 2), complex(1, 2), complex(0.8, 0.4)},
163
        Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
164
        Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
165
        Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
166
        Test{complex(0, 2), complex(-1, 0), complex(negzero, -2)},
167
        Test{complex(0, 2), complex(-1, 1), complex(1, -1)},
168
        Test{complex(0, 2), complex(-1, -1), complex(-1, -1)},
169
        Test{complex(0, 2), complex(-1, 2), complex(0.8, -0.4)},
170
        Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
171
        Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
172
        Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
173
        Test{complex(0, 2), complex(2, 0), complex(0, 1)},
174
        Test{complex(0, 2), complex(2, 1), complex(0.4, 0.8)},
175
        Test{complex(0, 2), complex(2, -1), complex(-0.4, 0.8)},
176
        Test{complex(0, 2), complex(2, 2), complex(0.5, 0.5)},
177
        Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
178
        Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
179
        Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
180
        Test{complex(0, 2), complex(nan, 0), complex(nan, nan)},
181
        Test{complex(0, 2), complex(nan, 1), complex(nan, nan)},
182
        Test{complex(0, 2), complex(nan, -1), complex(nan, nan)},
183
        Test{complex(0, 2), complex(nan, 2), complex(nan, nan)},
184
        Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
185
        Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
186
        Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
187
        Test{complex(0, 2), complex(inf, 0), complex(0, 0)},
188
        Test{complex(0, 2), complex(inf, 1), complex(0, 0)},
189
        Test{complex(0, 2), complex(inf, -1), complex(0, 0)},
190
        Test{complex(0, 2), complex(inf, 2), complex(0, 0)},
191
        Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
192
        Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
193
        Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
194
        Test{complex(0, 2), complex(-inf, 0), complex(negzero, negzero)},
195
        Test{complex(0, 2), complex(-inf, 1), complex(negzero, negzero)},
196
        Test{complex(0, 2), complex(-inf, -1), complex(negzero, negzero)},
197
        Test{complex(0, 2), complex(-inf, 2), complex(negzero, negzero)},
198
        Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
199
        Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
200
        Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
201
        Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
202
        Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
203
        Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
204
        Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
205
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
206
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
207
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
208
        Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
209
        Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
210
        Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
211
        Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
212
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
213
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
214
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
215
        Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
216
        Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
217
        Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
218
        Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
219
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
220
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
221
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
222
        Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
223
        Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
224
        Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
225
        Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
226
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
227
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
228
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
229
        Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
230
        Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
231
        Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
232
        Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
233
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
234
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
235
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
236
        Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
237
        Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
238
        Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
239
        Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
240
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
241
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
242
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
243
        Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
244
        Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
245
        Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
246
        Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
247
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
248
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
249
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
250
        Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
251
        Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
252
        Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
253
        Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
254
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
255
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
256
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
257
        Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
258
        Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
259
        Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
260
        Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
261
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
262
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
263
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
264
        Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
265
        Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
266
        Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
267
        Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
268
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
269
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
270
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
271
        Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
272
        Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
273
        Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
274
        Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
275
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
276
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
277
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
278
        Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
279
        Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
280
        Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
281
        Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
282
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
283
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
284
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
285
        Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
286
        Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
287
        Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
288
        Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
289
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
290
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
291
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
292
        Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
293
        Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
294
        Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
295
        Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
296
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
297
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
298
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
299
        Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
300
        Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
301
        Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
302
        Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
303
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
304
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
305
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
306
        Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
307
        Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
308
        Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
309
        Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
310
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
311
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
312
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
313
        Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
314
        Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
315
        Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
316
        Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
317
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
318
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
319
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
320
        Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
321
        Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
322
        Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
323
        Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
324
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
325
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
326
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
327
        Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
328
        Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
329
        Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
330
        Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
331
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
332
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
333
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
334
        Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
335
        Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
336
        Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
337
        Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
338
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
339
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
340
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
341
        Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
342
        Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
343
        Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
344
        Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
345
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
346
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
347
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
348
        Test{complex(1, 0), complex(0, 0), complex(inf, -nan)},
349
        Test{complex(1, 0), complex(0, 1), complex(0, -1)},
350
        Test{complex(1, 0), complex(0, -1), complex(negzero, 1)},
351
        Test{complex(1, 0), complex(0, 2), complex(0, -0.5)},
352
        Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
353
        Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
354
        Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
355
        Test{complex(1, 0), complex(1, 0), complex(1, 0)},
356
        Test{complex(1, 0), complex(1, 1), complex(0.5, -0.5)},
357
        Test{complex(1, 0), complex(1, -1), complex(0.5, 0.5)},
358
        Test{complex(1, 0), complex(1, 2), complex(0.2, -0.4)},
359
        Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
360
        Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
361
        Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
362
        Test{complex(1, 0), complex(-1, 0), complex(-1, negzero)},
363
        Test{complex(1, 0), complex(-1, 1), complex(-0.5, -0.5)},
364
        Test{complex(1, 0), complex(-1, -1), complex(-0.5, 0.5)},
365
        Test{complex(1, 0), complex(-1, 2), complex(-0.2, -0.4)},
366
        Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
367
        Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
368
        Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
369
        Test{complex(1, 0), complex(2, 0), complex(0.5, 0)},
370
        Test{complex(1, 0), complex(2, 1), complex(0.4, -0.2)},
371
        Test{complex(1, 0), complex(2, -1), complex(0.4, 0.2)},
372
        Test{complex(1, 0), complex(2, 2), complex(0.25, -0.25)},
373
        Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
374
        Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
375
        Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
376
        Test{complex(1, 0), complex(nan, 0), complex(nan, nan)},
377
        Test{complex(1, 0), complex(nan, 1), complex(nan, nan)},
378
        Test{complex(1, 0), complex(nan, -1), complex(nan, nan)},
379
        Test{complex(1, 0), complex(nan, 2), complex(nan, nan)},
380
        Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
381
        Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
382
        Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
383
        Test{complex(1, 0), complex(inf, 0), complex(0, 0)},
384
        Test{complex(1, 0), complex(inf, 1), complex(0, 0)},
385
        Test{complex(1, 0), complex(inf, -1), complex(0, 0)},
386
        Test{complex(1, 0), complex(inf, 2), complex(0, 0)},
387
        Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
388
        Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
389
        Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
390
        Test{complex(1, 0), complex(-inf, 0), complex(negzero, negzero)},
391
        Test{complex(1, 0), complex(-inf, 1), complex(negzero, negzero)},
392
        Test{complex(1, 0), complex(-inf, -1), complex(negzero, negzero)},
393
        Test{complex(1, 0), complex(-inf, 2), complex(negzero, negzero)},
394
        Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
395
        Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
396
        Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
397
        Test{complex(1, 1), complex(0, 0), complex(inf, inf)},
398
        Test{complex(1, 1), complex(0, 1), complex(1, -1)},
399
        Test{complex(1, 1), complex(0, -1), complex(-1, 1)},
400
        Test{complex(1, 1), complex(0, 2), complex(0.5, -0.5)},
401
        Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
402
        Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
403
        Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
404
        Test{complex(1, 1), complex(1, 0), complex(1, 1)},
405
        Test{complex(1, 1), complex(1, 1), complex(1, 0)},
406
        Test{complex(1, 1), complex(1, -1), complex(0, 1)},
407
        Test{complex(1, 1), complex(1, 2), complex(0.6, -0.2)},
408
        Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
409
        Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
410
        Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
411
        Test{complex(1, 1), complex(-1, 0), complex(-1, -1)},
412
        Test{complex(1, 1), complex(-1, 1), complex(negzero, -1)},
413
        Test{complex(1, 1), complex(-1, -1), complex(-1, negzero)},
414
        Test{complex(1, 1), complex(-1, 2), complex(0.2, -0.6)},
415
        Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
416
        Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
417
        Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
418
        Test{complex(1, 1), complex(2, 0), complex(0.5, 0.5)},
419
        Test{complex(1, 1), complex(2, 1), complex(0.6, 0.2)},
420
        Test{complex(1, 1), complex(2, -1), complex(0.2, 0.6)},
421
        Test{complex(1, 1), complex(2, 2), complex(0.5, 0)},
422
        Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
423
        Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
424
        Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
425
        Test{complex(1, 1), complex(nan, 0), complex(nan, nan)},
426
        Test{complex(1, 1), complex(nan, 1), complex(nan, nan)},
427
        Test{complex(1, 1), complex(nan, -1), complex(nan, nan)},
428
        Test{complex(1, 1), complex(nan, 2), complex(nan, nan)},
429
        Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
430
        Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
431
        Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
432
        Test{complex(1, 1), complex(inf, 0), complex(0, 0)},
433
        Test{complex(1, 1), complex(inf, 1), complex(0, 0)},
434
        Test{complex(1, 1), complex(inf, -1), complex(0, 0)},
435
        Test{complex(1, 1), complex(inf, 2), complex(0, 0)},
436
        Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
437
        Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
438
        Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
439
        Test{complex(1, 1), complex(-inf, 0), complex(negzero, negzero)},
440
        Test{complex(1, 1), complex(-inf, 1), complex(negzero, negzero)},
441
        Test{complex(1, 1), complex(-inf, -1), complex(negzero, negzero)},
442
        Test{complex(1, 1), complex(-inf, 2), complex(negzero, negzero)},
443
        Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
444
        Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
445
        Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
446
        Test{complex(1, -1), complex(0, 0), complex(inf, -inf)},
447
        Test{complex(1, -1), complex(0, 1), complex(-1, -1)},
448
        Test{complex(1, -1), complex(0, -1), complex(1, 1)},
449
        Test{complex(1, -1), complex(0, 2), complex(-0.5, -0.5)},
450
        Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
451
        Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
452
        Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
453
        Test{complex(1, -1), complex(1, 0), complex(1, -1)},
454
        Test{complex(1, -1), complex(1, 1), complex(0, -1)},
455
        Test{complex(1, -1), complex(1, -1), complex(1, 0)},
456
        Test{complex(1, -1), complex(1, 2), complex(-0.2, -0.6)},
457
        Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
458
        Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
459
        Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
460
        Test{complex(1, -1), complex(-1, 0), complex(-1, 1)},
461
        Test{complex(1, -1), complex(-1, 1), complex(-1, negzero)},
462
        Test{complex(1, -1), complex(-1, -1), complex(negzero, 1)},
463
        Test{complex(1, -1), complex(-1, 2), complex(-0.6, -0.2)},
464
        Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
465
        Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
466
        Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
467
        Test{complex(1, -1), complex(2, 0), complex(0.5, -0.5)},
468
        Test{complex(1, -1), complex(2, 1), complex(0.2, -0.6)},
469
        Test{complex(1, -1), complex(2, -1), complex(0.6, -0.2)},
470
        Test{complex(1, -1), complex(2, 2), complex(0, -0.5)},
471
        Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
472
        Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
473
        Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
474
        Test{complex(1, -1), complex(nan, 0), complex(nan, nan)},
475
        Test{complex(1, -1), complex(nan, 1), complex(nan, nan)},
476
        Test{complex(1, -1), complex(nan, -1), complex(nan, nan)},
477
        Test{complex(1, -1), complex(nan, 2), complex(nan, nan)},
478
        Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
479
        Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
480
        Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
481
        Test{complex(1, -1), complex(inf, 0), complex(0, negzero)},
482
        Test{complex(1, -1), complex(inf, 1), complex(0, negzero)},
483
        Test{complex(1, -1), complex(inf, -1), complex(0, negzero)},
484
        Test{complex(1, -1), complex(inf, 2), complex(0, negzero)},
485
        Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
486
        Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
487
        Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
488
        Test{complex(1, -1), complex(-inf, 0), complex(negzero, 0)},
489
        Test{complex(1, -1), complex(-inf, 1), complex(negzero, 0)},
490
        Test{complex(1, -1), complex(-inf, -1), complex(negzero, 0)},
491
        Test{complex(1, -1), complex(-inf, 2), complex(negzero, 0)},
492
        Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
493
        Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
494
        Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
495
        Test{complex(1, 2), complex(0, 0), complex(inf, inf)},
496
        Test{complex(1, 2), complex(0, 1), complex(2, -1)},
497
        Test{complex(1, 2), complex(0, -1), complex(-2, 1)},
498
        Test{complex(1, 2), complex(0, 2), complex(1, -0.5)},
499
        Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
500
        Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
501
        Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
502
        Test{complex(1, 2), complex(1, 0), complex(1, 2)},
503
        Test{complex(1, 2), complex(1, 1), complex(1.5, 0.5)},
504
        Test{complex(1, 2), complex(1, -1), complex(-0.5, 1.5)},
505
        Test{complex(1, 2), complex(1, 2), complex(1, 0)},
506
        Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
507
        Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
508
        Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
509
        Test{complex(1, 2), complex(-1, 0), complex(-1, -2)},
510
        Test{complex(1, 2), complex(-1, 1), complex(0.5, -1.5)},
511
        Test{complex(1, 2), complex(-1, -1), complex(-1.5, -0.5)},
512
        Test{complex(1, 2), complex(-1, 2), complex(0.6, -0.8)},
513
        Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
514
        Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
515
        Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
516
        Test{complex(1, 2), complex(2, 0), complex(0.5, 1)},
517
        Test{complex(1, 2), complex(2, 1), complex(0.8, 0.6)},
518
        Test{complex(1, 2), complex(2, -1), complex(0, 1)},
519
        Test{complex(1, 2), complex(2, 2), complex(0.75, 0.25)},
520
        Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
521
        Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
522
        Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
523
        Test{complex(1, 2), complex(nan, 0), complex(nan, nan)},
524
        Test{complex(1, 2), complex(nan, 1), complex(nan, nan)},
525
        Test{complex(1, 2), complex(nan, -1), complex(nan, nan)},
526
        Test{complex(1, 2), complex(nan, 2), complex(nan, nan)},
527
        Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
528
        Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
529
        Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
530
        Test{complex(1, 2), complex(inf, 0), complex(0, 0)},
531
        Test{complex(1, 2), complex(inf, 1), complex(0, 0)},
532
        Test{complex(1, 2), complex(inf, -1), complex(0, 0)},
533
        Test{complex(1, 2), complex(inf, 2), complex(0, 0)},
534
        Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
535
        Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
536
        Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
537
        Test{complex(1, 2), complex(-inf, 0), complex(negzero, negzero)},
538
        Test{complex(1, 2), complex(-inf, 1), complex(negzero, negzero)},
539
        Test{complex(1, 2), complex(-inf, -1), complex(negzero, negzero)},
540
        Test{complex(1, 2), complex(-inf, 2), complex(negzero, negzero)},
541
        Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
542
        Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
543
        Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
544
        Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
545
        Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
546
        Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
547
        Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
548
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
549
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
550
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
551
        Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
552
        Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
553
        Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
554
        Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
555
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
556
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
557
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
558
        Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
559
        Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
560
        Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
561
        Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
562
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
563
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
564
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
565
        Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
566
        Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
567
        Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
568
        Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
569
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
570
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
571
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
572
        Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
573
        Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
574
        Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
575
        Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
576
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
577
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
578
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
579
        Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
580
        Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
581
        Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
582
        Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
583
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
584
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
585
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
586
        Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
587
        Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
588
        Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
589
        Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
590
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
591
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
592
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
593
        Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
594
        Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
595
        Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
596
        Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
597
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
598
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
599
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
600
        Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
601
        Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
602
        Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
603
        Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
604
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
605
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
606
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
607
        Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
608
        Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
609
        Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
610
        Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
611
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
612
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
613
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
614
        Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
615
        Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
616
        Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
617
        Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
618
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
619
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
620
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
621
        Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
622
        Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
623
        Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
624
        Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
625
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
626
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
627
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
628
        Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
629
        Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
630
        Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
631
        Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
632
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
633
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
634
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
635
        Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
636
        Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
637
        Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
638
        Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
639
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
640
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
641
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
642
        Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
643
        Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
644
        Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
645
        Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
646
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
647
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
648
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
649
        Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
650
        Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
651
        Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
652
        Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
653
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
654
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
655
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
656
        Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
657
        Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
658
        Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
659
        Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
660
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
661
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
662
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
663
        Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
664
        Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
665
        Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
666
        Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
667
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
668
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
669
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
670
        Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
671
        Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
672
        Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
673
        Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
674
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
675
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
676
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
677
        Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
678
        Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
679
        Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
680
        Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
681
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
682
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
683
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
684
        Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
685
        Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
686
        Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
687
        Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
688
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
689
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
690
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
691
        Test{complex(-1, 0), complex(0, 0), complex(-inf, -nan)},
692
        Test{complex(-1, 0), complex(0, 1), complex(0, 1)},
693
        Test{complex(-1, 0), complex(0, -1), complex(negzero, -1)},
694
        Test{complex(-1, 0), complex(0, 2), complex(0, 0.5)},
695
        Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
696
        Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
697
        Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
698
        Test{complex(-1, 0), complex(1, 0), complex(-1, 0)},
699
        Test{complex(-1, 0), complex(1, 1), complex(-0.5, 0.5)},
700
        Test{complex(-1, 0), complex(1, -1), complex(-0.5, -0.5)},
701
        Test{complex(-1, 0), complex(1, 2), complex(-0.2, 0.4)},
702
        Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
703
        Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
704
        Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
705
        Test{complex(-1, 0), complex(-1, 0), complex(1, negzero)},
706
        Test{complex(-1, 0), complex(-1, 1), complex(0.5, 0.5)},
707
        Test{complex(-1, 0), complex(-1, -1), complex(0.5, -0.5)},
708
        Test{complex(-1, 0), complex(-1, 2), complex(0.2, 0.4)},
709
        Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
710
        Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
711
        Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
712
        Test{complex(-1, 0), complex(2, 0), complex(-0.5, 0)},
713
        Test{complex(-1, 0), complex(2, 1), complex(-0.4, 0.2)},
714
        Test{complex(-1, 0), complex(2, -1), complex(-0.4, -0.2)},
715
        Test{complex(-1, 0), complex(2, 2), complex(-0.25, 0.25)},
716
        Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
717
        Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
718
        Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
719
        Test{complex(-1, 0), complex(nan, 0), complex(nan, nan)},
720
        Test{complex(-1, 0), complex(nan, 1), complex(nan, nan)},
721
        Test{complex(-1, 0), complex(nan, -1), complex(nan, nan)},
722
        Test{complex(-1, 0), complex(nan, 2), complex(nan, nan)},
723
        Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
724
        Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
725
        Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
726
        Test{complex(-1, 0), complex(inf, 0), complex(negzero, 0)},
727
        Test{complex(-1, 0), complex(inf, 1), complex(negzero, 0)},
728
        Test{complex(-1, 0), complex(inf, -1), complex(negzero, 0)},
729
        Test{complex(-1, 0), complex(inf, 2), complex(negzero, 0)},
730
        Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
731
        Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
732
        Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
733
        Test{complex(-1, 0), complex(-inf, 0), complex(0, negzero)},
734
        Test{complex(-1, 0), complex(-inf, 1), complex(0, negzero)},
735
        Test{complex(-1, 0), complex(-inf, -1), complex(0, negzero)},
736
        Test{complex(-1, 0), complex(-inf, 2), complex(0, negzero)},
737
        Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
738
        Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
739
        Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
740
        Test{complex(-1, 1), complex(0, 0), complex(-inf, inf)},
741
        Test{complex(-1, 1), complex(0, 1), complex(1, 1)},
742
        Test{complex(-1, 1), complex(0, -1), complex(-1, -1)},
743
        Test{complex(-1, 1), complex(0, 2), complex(0.5, 0.5)},
744
        Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
745
        Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
746
        Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
747
        Test{complex(-1, 1), complex(1, 0), complex(-1, 1)},
748
        Test{complex(-1, 1), complex(1, 1), complex(0, 1)},
749
        Test{complex(-1, 1), complex(1, -1), complex(-1, 0)},
750
        Test{complex(-1, 1), complex(1, 2), complex(0.2, 0.6)},
751
        Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
752
        Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
753
        Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
754
        Test{complex(-1, 1), complex(-1, 0), complex(1, -1)},
755
        Test{complex(-1, 1), complex(-1, 1), complex(1, negzero)},
756
        Test{complex(-1, 1), complex(-1, -1), complex(negzero, -1)},
757
        Test{complex(-1, 1), complex(-1, 2), complex(0.6, 0.2)},
758
        Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
759
        Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
760
        Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
761
        Test{complex(-1, 1), complex(2, 0), complex(-0.5, 0.5)},
762
        Test{complex(-1, 1), complex(2, 1), complex(-0.2, 0.6)},
763
        Test{complex(-1, 1), complex(2, -1), complex(-0.6, 0.2)},
764
        Test{complex(-1, 1), complex(2, 2), complex(0, 0.5)},
765
        Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
766
        Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
767
        Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
768
        Test{complex(-1, 1), complex(nan, 0), complex(nan, nan)},
769
        Test{complex(-1, 1), complex(nan, 1), complex(nan, nan)},
770
        Test{complex(-1, 1), complex(nan, -1), complex(nan, nan)},
771
        Test{complex(-1, 1), complex(nan, 2), complex(nan, nan)},
772
        Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
773
        Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
774
        Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
775
        Test{complex(-1, 1), complex(inf, 0), complex(negzero, 0)},
776
        Test{complex(-1, 1), complex(inf, 1), complex(negzero, 0)},
777
        Test{complex(-1, 1), complex(inf, -1), complex(negzero, 0)},
778
        Test{complex(-1, 1), complex(inf, 2), complex(negzero, 0)},
779
        Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
780
        Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
781
        Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
782
        Test{complex(-1, 1), complex(-inf, 0), complex(0, negzero)},
783
        Test{complex(-1, 1), complex(-inf, 1), complex(0, negzero)},
784
        Test{complex(-1, 1), complex(-inf, -1), complex(0, negzero)},
785
        Test{complex(-1, 1), complex(-inf, 2), complex(0, negzero)},
786
        Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
787
        Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
788
        Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
789
        Test{complex(-1, -1), complex(0, 0), complex(-inf, -inf)},
790
        Test{complex(-1, -1), complex(0, 1), complex(-1, 1)},
791
        Test{complex(-1, -1), complex(0, -1), complex(1, -1)},
792
        Test{complex(-1, -1), complex(0, 2), complex(-0.5, 0.5)},
793
        Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
794
        Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
795
        Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
796
        Test{complex(-1, -1), complex(1, 0), complex(-1, -1)},
797
        Test{complex(-1, -1), complex(1, 1), complex(-1, 0)},
798
        Test{complex(-1, -1), complex(1, -1), complex(0, -1)},
799
        Test{complex(-1, -1), complex(1, 2), complex(-0.6, 0.2)},
800
        Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
801
        Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
802
        Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
803
        Test{complex(-1, -1), complex(-1, 0), complex(1, 1)},
804
        Test{complex(-1, -1), complex(-1, 1), complex(negzero, 1)},
805
        Test{complex(-1, -1), complex(-1, -1), complex(1, negzero)},
806
        Test{complex(-1, -1), complex(-1, 2), complex(-0.2, 0.6)},
807
        Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
808
        Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
809
        Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
810
        Test{complex(-1, -1), complex(2, 0), complex(-0.5, -0.5)},
811
        Test{complex(-1, -1), complex(2, 1), complex(-0.6, -0.2)},
812
        Test{complex(-1, -1), complex(2, -1), complex(-0.2, -0.6)},
813
        Test{complex(-1, -1), complex(2, 2), complex(-0.5, 0)},
814
        Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
815
        Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
816
        Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
817
        Test{complex(-1, -1), complex(nan, 0), complex(nan, nan)},
818
        Test{complex(-1, -1), complex(nan, 1), complex(nan, nan)},
819
        Test{complex(-1, -1), complex(nan, -1), complex(nan, nan)},
820
        Test{complex(-1, -1), complex(nan, 2), complex(nan, nan)},
821
        Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
822
        Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
823
        Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
824
        Test{complex(-1, -1), complex(inf, 0), complex(negzero, negzero)},
825
        Test{complex(-1, -1), complex(inf, 1), complex(negzero, negzero)},
826
        Test{complex(-1, -1), complex(inf, -1), complex(negzero, negzero)},
827
        Test{complex(-1, -1), complex(inf, 2), complex(negzero, negzero)},
828
        Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
829
        Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
830
        Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
831
        Test{complex(-1, -1), complex(-inf, 0), complex(0, 0)},
832
        Test{complex(-1, -1), complex(-inf, 1), complex(0, 0)},
833
        Test{complex(-1, -1), complex(-inf, -1), complex(0, 0)},
834
        Test{complex(-1, -1), complex(-inf, 2), complex(0, 0)},
835
        Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
836
        Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
837
        Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
838
        Test{complex(-1, 2), complex(0, 0), complex(-inf, inf)},
839
        Test{complex(-1, 2), complex(0, 1), complex(2, 1)},
840
        Test{complex(-1, 2), complex(0, -1), complex(-2, -1)},
841
        Test{complex(-1, 2), complex(0, 2), complex(1, 0.5)},
842
        Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
843
        Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
844
        Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
845
        Test{complex(-1, 2), complex(1, 0), complex(-1, 2)},
846
        Test{complex(-1, 2), complex(1, 1), complex(0.5, 1.5)},
847
        Test{complex(-1, 2), complex(1, -1), complex(-1.5, 0.5)},
848
        Test{complex(-1, 2), complex(1, 2), complex(0.6, 0.8)},
849
        Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
850
        Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
851
        Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
852
        Test{complex(-1, 2), complex(-1, 0), complex(1, -2)},
853
        Test{complex(-1, 2), complex(-1, 1), complex(1.5, -0.5)},
854
        Test{complex(-1, 2), complex(-1, -1), complex(-0.5, -1.5)},
855
        Test{complex(-1, 2), complex(-1, 2), complex(1, 0)},
856
        Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
857
        Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
858
        Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
859
        Test{complex(-1, 2), complex(2, 0), complex(-0.5, 1)},
860
        Test{complex(-1, 2), complex(2, 1), complex(0, 1)},
861
        Test{complex(-1, 2), complex(2, -1), complex(-0.8, 0.6)},
862
        Test{complex(-1, 2), complex(2, 2), complex(0.25, 0.75)},
863
        Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
864
        Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
865
        Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
866
        Test{complex(-1, 2), complex(nan, 0), complex(nan, nan)},
867
        Test{complex(-1, 2), complex(nan, 1), complex(nan, nan)},
868
        Test{complex(-1, 2), complex(nan, -1), complex(nan, nan)},
869
        Test{complex(-1, 2), complex(nan, 2), complex(nan, nan)},
870
        Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
871
        Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
872
        Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
873
        Test{complex(-1, 2), complex(inf, 0), complex(negzero, 0)},
874
        Test{complex(-1, 2), complex(inf, 1), complex(negzero, 0)},
875
        Test{complex(-1, 2), complex(inf, -1), complex(negzero, 0)},
876
        Test{complex(-1, 2), complex(inf, 2), complex(negzero, 0)},
877
        Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
878
        Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
879
        Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
880
        Test{complex(-1, 2), complex(-inf, 0), complex(0, negzero)},
881
        Test{complex(-1, 2), complex(-inf, 1), complex(0, negzero)},
882
        Test{complex(-1, 2), complex(-inf, -1), complex(0, negzero)},
883
        Test{complex(-1, 2), complex(-inf, 2), complex(0, negzero)},
884
        Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
885
        Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
886
        Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
887
        Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
888
        Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
889
        Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
890
        Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
891
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
892
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
893
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
894
        Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
895
        Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
896
        Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
897
        Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
898
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
899
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
900
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
901
        Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
902
        Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
903
        Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
904
        Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
905
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
906
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
907
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
908
        Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
909
        Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
910
        Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
911
        Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
912
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
913
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
914
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
915
        Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
916
        Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
917
        Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
918
        Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
919
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
920
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
921
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
922
        Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
923
        Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
924
        Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
925
        Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
926
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
927
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
928
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
929
        Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
930
        Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
931
        Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
932
        Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
933
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
934
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
935
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
936
        Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
937
        Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
938
        Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
939
        Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
940
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
941
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
942
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
943
        Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
944
        Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
945
        Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
946
        Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
947
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
948
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
949
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
950
        Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
951
        Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
952
        Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
953
        Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
954
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
955
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
956
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
957
        Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
958
        Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
959
        Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
960
        Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
961
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
962
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
963
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
964
        Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
965
        Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
966
        Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
967
        Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
968
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
969
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
970
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
971
        Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
972
        Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
973
        Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
974
        Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
975
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
976
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
977
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
978
        Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
979
        Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
980
        Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
981
        Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
982
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
983
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
984
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
985
        Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
986
        Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
987
        Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
988
        Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
989
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
990
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
991
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
992
        Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
993
        Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
994
        Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
995
        Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
996
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
997
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
998
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
999
        Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
1000
        Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
1001
        Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
1002
        Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
1003
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1004
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1005
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1006
        Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
1007
        Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
1008
        Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
1009
        Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
1010
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1011
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1012
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1013
        Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
1014
        Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
1015
        Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
1016
        Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
1017
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1018
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1019
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1020
        Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
1021
        Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
1022
        Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
1023
        Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
1024
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1025
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1026
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1027
        Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
1028
        Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
1029
        Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
1030
        Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
1031
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1032
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1033
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1034
        Test{complex(2, 0), complex(0, 0), complex(inf, -nan)},
1035
        Test{complex(2, 0), complex(0, 1), complex(0, -2)},
1036
        Test{complex(2, 0), complex(0, -1), complex(negzero, 2)},
1037
        Test{complex(2, 0), complex(0, 2), complex(0, -1)},
1038
        Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
1039
        Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
1040
        Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
1041
        Test{complex(2, 0), complex(1, 0), complex(2, 0)},
1042
        Test{complex(2, 0), complex(1, 1), complex(1, -1)},
1043
        Test{complex(2, 0), complex(1, -1), complex(1, 1)},
1044
        Test{complex(2, 0), complex(1, 2), complex(0.4, -0.8)},
1045
        Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
1046
        Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
1047
        Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
1048
        Test{complex(2, 0), complex(-1, 0), complex(-2, negzero)},
1049
        Test{complex(2, 0), complex(-1, 1), complex(-1, -1)},
1050
        Test{complex(2, 0), complex(-1, -1), complex(-1, 1)},
1051
        Test{complex(2, 0), complex(-1, 2), complex(-0.4, -0.8)},
1052
        Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
1053
        Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
1054
        Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
1055
        Test{complex(2, 0), complex(2, 0), complex(1, 0)},
1056
        Test{complex(2, 0), complex(2, 1), complex(0.8, -0.4)},
1057
        Test{complex(2, 0), complex(2, -1), complex(0.8, 0.4)},
1058
        Test{complex(2, 0), complex(2, 2), complex(0.5, -0.5)},
1059
        Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
1060
        Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
1061
        Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
1062
        Test{complex(2, 0), complex(nan, 0), complex(nan, nan)},
1063
        Test{complex(2, 0), complex(nan, 1), complex(nan, nan)},
1064
        Test{complex(2, 0), complex(nan, -1), complex(nan, nan)},
1065
        Test{complex(2, 0), complex(nan, 2), complex(nan, nan)},
1066
        Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
1067
        Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
1068
        Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
1069
        Test{complex(2, 0), complex(inf, 0), complex(0, 0)},
1070
        Test{complex(2, 0), complex(inf, 1), complex(0, 0)},
1071
        Test{complex(2, 0), complex(inf, -1), complex(0, 0)},
1072
        Test{complex(2, 0), complex(inf, 2), complex(0, 0)},
1073
        Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
1074
        Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
1075
        Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
1076
        Test{complex(2, 0), complex(-inf, 0), complex(negzero, negzero)},
1077
        Test{complex(2, 0), complex(-inf, 1), complex(negzero, negzero)},
1078
        Test{complex(2, 0), complex(-inf, -1), complex(negzero, negzero)},
1079
        Test{complex(2, 0), complex(-inf, 2), complex(negzero, negzero)},
1080
        Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
1081
        Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
1082
        Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
1083
        Test{complex(2, 1), complex(0, 0), complex(inf, inf)},
1084
        Test{complex(2, 1), complex(0, 1), complex(1, -2)},
1085
        Test{complex(2, 1), complex(0, -1), complex(-1, 2)},
1086
        Test{complex(2, 1), complex(0, 2), complex(0.5, -1)},
1087
        Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
1088
        Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
1089
        Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
1090
        Test{complex(2, 1), complex(1, 0), complex(2, 1)},
1091
        Test{complex(2, 1), complex(1, 1), complex(1.5, -0.5)},
1092
        Test{complex(2, 1), complex(1, -1), complex(0.5, 1.5)},
1093
        Test{complex(2, 1), complex(1, 2), complex(0.8, -0.6)},
1094
        Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
1095
        Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
1096
        Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
1097
        Test{complex(2, 1), complex(-1, 0), complex(-2, -1)},
1098
        Test{complex(2, 1), complex(-1, 1), complex(-0.5, -1.5)},
1099
        Test{complex(2, 1), complex(-1, -1), complex(-1.5, 0.5)},
1100
        Test{complex(2, 1), complex(-1, 2), complex(0, -1)},
1101
        Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
1102
        Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
1103
        Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
1104
        Test{complex(2, 1), complex(2, 0), complex(1, 0.5)},
1105
        Test{complex(2, 1), complex(2, 1), complex(1, 0)},
1106
        Test{complex(2, 1), complex(2, -1), complex(0.6, 0.8)},
1107
        Test{complex(2, 1), complex(2, 2), complex(0.75, -0.25)},
1108
        Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
1109
        Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
1110
        Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
1111
        Test{complex(2, 1), complex(nan, 0), complex(nan, nan)},
1112
        Test{complex(2, 1), complex(nan, 1), complex(nan, nan)},
1113
        Test{complex(2, 1), complex(nan, -1), complex(nan, nan)},
1114
        Test{complex(2, 1), complex(nan, 2), complex(nan, nan)},
1115
        Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
1116
        Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
1117
        Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
1118
        Test{complex(2, 1), complex(inf, 0), complex(0, 0)},
1119
        Test{complex(2, 1), complex(inf, 1), complex(0, 0)},
1120
        Test{complex(2, 1), complex(inf, -1), complex(0, 0)},
1121
        Test{complex(2, 1), complex(inf, 2), complex(0, 0)},
1122
        Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
1123
        Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
1124
        Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
1125
        Test{complex(2, 1), complex(-inf, 0), complex(negzero, negzero)},
1126
        Test{complex(2, 1), complex(-inf, 1), complex(negzero, negzero)},
1127
        Test{complex(2, 1), complex(-inf, -1), complex(negzero, negzero)},
1128
        Test{complex(2, 1), complex(-inf, 2), complex(negzero, negzero)},
1129
        Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
1130
        Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
1131
        Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
1132
        Test{complex(2, -1), complex(0, 0), complex(inf, -inf)},
1133
        Test{complex(2, -1), complex(0, 1), complex(-1, -2)},
1134
        Test{complex(2, -1), complex(0, -1), complex(1, 2)},
1135
        Test{complex(2, -1), complex(0, 2), complex(-0.5, -1)},
1136
        Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
1137
        Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
1138
        Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
1139
        Test{complex(2, -1), complex(1, 0), complex(2, -1)},
1140
        Test{complex(2, -1), complex(1, 1), complex(0.5, -1.5)},
1141
        Test{complex(2, -1), complex(1, -1), complex(1.5, 0.5)},
1142
        Test{complex(2, -1), complex(1, 2), complex(0, -1)},
1143
        Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
1144
        Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
1145
        Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
1146
        Test{complex(2, -1), complex(-1, 0), complex(-2, 1)},
1147
        Test{complex(2, -1), complex(-1, 1), complex(-1.5, -0.5)},
1148
        Test{complex(2, -1), complex(-1, -1), complex(-0.5, 1.5)},
1149
        Test{complex(2, -1), complex(-1, 2), complex(-0.8, -0.6)},
1150
        Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
1151
        Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
1152
        Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
1153
        Test{complex(2, -1), complex(2, 0), complex(1, -0.5)},
1154
        Test{complex(2, -1), complex(2, 1), complex(0.6, -0.8)},
1155
        Test{complex(2, -1), complex(2, -1), complex(1, 0)},
1156
        Test{complex(2, -1), complex(2, 2), complex(0.25, -0.75)},
1157
        Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
1158
        Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
1159
        Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
1160
        Test{complex(2, -1), complex(nan, 0), complex(nan, nan)},
1161
        Test{complex(2, -1), complex(nan, 1), complex(nan, nan)},
1162
        Test{complex(2, -1), complex(nan, -1), complex(nan, nan)},
1163
        Test{complex(2, -1), complex(nan, 2), complex(nan, nan)},
1164
        Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
1165
        Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
1166
        Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
1167
        Test{complex(2, -1), complex(inf, 0), complex(0, negzero)},
1168
        Test{complex(2, -1), complex(inf, 1), complex(0, negzero)},
1169
        Test{complex(2, -1), complex(inf, -1), complex(0, negzero)},
1170
        Test{complex(2, -1), complex(inf, 2), complex(0, negzero)},
1171
        Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
1172
        Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
1173
        Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
1174
        Test{complex(2, -1), complex(-inf, 0), complex(negzero, 0)},
1175
        Test{complex(2, -1), complex(-inf, 1), complex(negzero, 0)},
1176
        Test{complex(2, -1), complex(-inf, -1), complex(negzero, 0)},
1177
        Test{complex(2, -1), complex(-inf, 2), complex(negzero, 0)},
1178
        Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
1179
        Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
1180
        Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
1181
        Test{complex(2, 2), complex(0, 0), complex(inf, inf)},
1182
        Test{complex(2, 2), complex(0, 1), complex(2, -2)},
1183
        Test{complex(2, 2), complex(0, -1), complex(-2, 2)},
1184
        Test{complex(2, 2), complex(0, 2), complex(1, -1)},
1185
        Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
1186
        Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
1187
        Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
1188
        Test{complex(2, 2), complex(1, 0), complex(2, 2)},
1189
        Test{complex(2, 2), complex(1, 1), complex(2, 0)},
1190
        Test{complex(2, 2), complex(1, -1), complex(0, 2)},
1191
        Test{complex(2, 2), complex(1, 2), complex(1.2, -0.4)},
1192
        Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
1193
        Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
1194
        Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
1195
        Test{complex(2, 2), complex(-1, 0), complex(-2, -2)},
1196
        Test{complex(2, 2), complex(-1, 1), complex(negzero, -2)},
1197
        Test{complex(2, 2), complex(-1, -1), complex(-2, negzero)},
1198
        Test{complex(2, 2), complex(-1, 2), complex(0.4, -1.2)},
1199
        Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
1200
        Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
1201
        Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
1202
        Test{complex(2, 2), complex(2, 0), complex(1, 1)},
1203
        Test{complex(2, 2), complex(2, 1), complex(1.2, 0.4)},
1204
        Test{complex(2, 2), complex(2, -1), complex(0.4, 1.2)},
1205
        Test{complex(2, 2), complex(2, 2), complex(1, 0)},
1206
        Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
1207
        Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
1208
        Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
1209
        Test{complex(2, 2), complex(nan, 0), complex(nan, nan)},
1210
        Test{complex(2, 2), complex(nan, 1), complex(nan, nan)},
1211
        Test{complex(2, 2), complex(nan, -1), complex(nan, nan)},
1212
        Test{complex(2, 2), complex(nan, 2), complex(nan, nan)},
1213
        Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
1214
        Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
1215
        Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
1216
        Test{complex(2, 2), complex(inf, 0), complex(0, 0)},
1217
        Test{complex(2, 2), complex(inf, 1), complex(0, 0)},
1218
        Test{complex(2, 2), complex(inf, -1), complex(0, 0)},
1219
        Test{complex(2, 2), complex(inf, 2), complex(0, 0)},
1220
        Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
1221
        Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
1222
        Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
1223
        Test{complex(2, 2), complex(-inf, 0), complex(negzero, negzero)},
1224
        Test{complex(2, 2), complex(-inf, 1), complex(negzero, negzero)},
1225
        Test{complex(2, 2), complex(-inf, -1), complex(negzero, negzero)},
1226
        Test{complex(2, 2), complex(-inf, 2), complex(negzero, negzero)},
1227
        Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
1228
        Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
1229
        Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
1230
        Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
1231
        Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
1232
        Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
1233
        Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
1234
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1235
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1236
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1237
        Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
1238
        Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
1239
        Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
1240
        Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
1241
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1242
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1243
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1244
        Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
1245
        Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
1246
        Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
1247
        Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
1248
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1249
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1250
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1251
        Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
1252
        Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
1253
        Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
1254
        Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
1255
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1256
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1257
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1258
        Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
1259
        Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
1260
        Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
1261
        Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
1262
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1263
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1264
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1265
        Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
1266
        Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
1267
        Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
1268
        Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
1269
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1270
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1271
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1272
        Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
1273
        Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
1274
        Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
1275
        Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
1276
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1277
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1278
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1279
        Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
1280
        Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
1281
        Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
1282
        Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
1283
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1284
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1285
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1286
        Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
1287
        Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
1288
        Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
1289
        Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
1290
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1291
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1292
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1293
        Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
1294
        Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
1295
        Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
1296
        Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
1297
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1298
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1299
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1300
        Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
1301
        Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
1302
        Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
1303
        Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
1304
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1305
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1306
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1307
        Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
1308
        Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
1309
        Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
1310
        Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
1311
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1312
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1313
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1314
        Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
1315
        Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
1316
        Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
1317
        Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
1318
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1319
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1320
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1321
        Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
1322
        Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
1323
        Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
1324
        Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
1325
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1326
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1327
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1328
        Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
1329
        Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
1330
        Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
1331
        Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
1332
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1333
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1334
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1335
        Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
1336
        Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
1337
        Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
1338
        Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
1339
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1340
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1341
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1342
        Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
1343
        Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
1344
        Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
1345
        Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
1346
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1347
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1348
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1349
        Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
1350
        Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
1351
        Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
1352
        Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
1353
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1354
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1355
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1356
        Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
1357
        Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
1358
        Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
1359
        Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
1360
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1361
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1362
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1363
        Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
1364
        Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
1365
        Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
1366
        Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
1367
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1368
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1369
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1370
        Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
1371
        Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
1372
        Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
1373
        Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
1374
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1375
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1376
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1377
        Test{complex(nan, 0), complex(0, 0), complex(nan, nan)},
1378
        Test{complex(nan, 0), complex(0, 1), complex(nan, nan)},
1379
        Test{complex(nan, 0), complex(0, -1), complex(nan, nan)},
1380
        Test{complex(nan, 0), complex(0, 2), complex(nan, nan)},
1381
        Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
1382
        Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
1383
        Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
1384
        Test{complex(nan, 0), complex(1, 0), complex(nan, nan)},
1385
        Test{complex(nan, 0), complex(1, 1), complex(nan, nan)},
1386
        Test{complex(nan, 0), complex(1, -1), complex(nan, nan)},
1387
        Test{complex(nan, 0), complex(1, 2), complex(nan, nan)},
1388
        Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
1389
        Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
1390
        Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
1391
        Test{complex(nan, 0), complex(-1, 0), complex(nan, nan)},
1392
        Test{complex(nan, 0), complex(-1, 1), complex(nan, nan)},
1393
        Test{complex(nan, 0), complex(-1, -1), complex(nan, nan)},
1394
        Test{complex(nan, 0), complex(-1, 2), complex(nan, nan)},
1395
        Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
1396
        Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
1397
        Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
1398
        Test{complex(nan, 0), complex(2, 0), complex(nan, nan)},
1399
        Test{complex(nan, 0), complex(2, 1), complex(nan, nan)},
1400
        Test{complex(nan, 0), complex(2, -1), complex(nan, nan)},
1401
        Test{complex(nan, 0), complex(2, 2), complex(nan, nan)},
1402
        Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
1403
        Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
1404
        Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
1405
        Test{complex(nan, 0), complex(nan, 0), complex(nan, nan)},
1406
        Test{complex(nan, 0), complex(nan, 1), complex(nan, nan)},
1407
        Test{complex(nan, 0), complex(nan, -1), complex(nan, nan)},
1408
        Test{complex(nan, 0), complex(nan, 2), complex(nan, nan)},
1409
        Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
1410
        Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
1411
        Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
1412
        Test{complex(nan, 0), complex(inf, 0), complex(nan, nan)},
1413
        Test{complex(nan, 0), complex(inf, 1), complex(nan, nan)},
1414
        Test{complex(nan, 0), complex(inf, -1), complex(nan, nan)},
1415
        Test{complex(nan, 0), complex(inf, 2), complex(nan, nan)},
1416
        Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
1417
        Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
1418
        Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
1419
        Test{complex(nan, 0), complex(-inf, 0), complex(nan, nan)},
1420
        Test{complex(nan, 0), complex(-inf, 1), complex(nan, nan)},
1421
        Test{complex(nan, 0), complex(-inf, -1), complex(nan, nan)},
1422
        Test{complex(nan, 0), complex(-inf, 2), complex(nan, nan)},
1423
        Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
1424
        Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
1425
        Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
1426
        Test{complex(nan, 1), complex(0, 0), complex(nan, nan)},
1427
        Test{complex(nan, 1), complex(0, 1), complex(nan, nan)},
1428
        Test{complex(nan, 1), complex(0, -1), complex(nan, nan)},
1429
        Test{complex(nan, 1), complex(0, 2), complex(nan, nan)},
1430
        Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
1431
        Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
1432
        Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
1433
        Test{complex(nan, 1), complex(1, 0), complex(nan, nan)},
1434
        Test{complex(nan, 1), complex(1, 1), complex(nan, nan)},
1435
        Test{complex(nan, 1), complex(1, -1), complex(nan, nan)},
1436
        Test{complex(nan, 1), complex(1, 2), complex(nan, nan)},
1437
        Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
1438
        Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
1439
        Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
1440
        Test{complex(nan, 1), complex(-1, 0), complex(nan, nan)},
1441
        Test{complex(nan, 1), complex(-1, 1), complex(nan, nan)},
1442
        Test{complex(nan, 1), complex(-1, -1), complex(nan, nan)},
1443
        Test{complex(nan, 1), complex(-1, 2), complex(nan, nan)},
1444
        Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
1445
        Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
1446
        Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
1447
        Test{complex(nan, 1), complex(2, 0), complex(nan, nan)},
1448
        Test{complex(nan, 1), complex(2, 1), complex(nan, nan)},
1449
        Test{complex(nan, 1), complex(2, -1), complex(nan, nan)},
1450
        Test{complex(nan, 1), complex(2, 2), complex(nan, nan)},
1451
        Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
1452
        Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
1453
        Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
1454
        Test{complex(nan, 1), complex(nan, 0), complex(nan, nan)},
1455
        Test{complex(nan, 1), complex(nan, 1), complex(nan, nan)},
1456
        Test{complex(nan, 1), complex(nan, -1), complex(nan, nan)},
1457
        Test{complex(nan, 1), complex(nan, 2), complex(nan, nan)},
1458
        Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
1459
        Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
1460
        Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
1461
        Test{complex(nan, 1), complex(inf, 0), complex(nan, nan)},
1462
        Test{complex(nan, 1), complex(inf, 1), complex(nan, nan)},
1463
        Test{complex(nan, 1), complex(inf, -1), complex(nan, nan)},
1464
        Test{complex(nan, 1), complex(inf, 2), complex(nan, nan)},
1465
        Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
1466
        Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
1467
        Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
1468
        Test{complex(nan, 1), complex(-inf, 0), complex(nan, nan)},
1469
        Test{complex(nan, 1), complex(-inf, 1), complex(nan, nan)},
1470
        Test{complex(nan, 1), complex(-inf, -1), complex(nan, nan)},
1471
        Test{complex(nan, 1), complex(-inf, 2), complex(nan, nan)},
1472
        Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
1473
        Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
1474
        Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
1475
        Test{complex(nan, -1), complex(0, 0), complex(nan, nan)},
1476
        Test{complex(nan, -1), complex(0, 1), complex(nan, nan)},
1477
        Test{complex(nan, -1), complex(0, -1), complex(nan, nan)},
1478
        Test{complex(nan, -1), complex(0, 2), complex(nan, nan)},
1479
        Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
1480
        Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
1481
        Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
1482
        Test{complex(nan, -1), complex(1, 0), complex(nan, nan)},
1483
        Test{complex(nan, -1), complex(1, 1), complex(nan, nan)},
1484
        Test{complex(nan, -1), complex(1, -1), complex(nan, nan)},
1485
        Test{complex(nan, -1), complex(1, 2), complex(nan, nan)},
1486
        Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
1487
        Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
1488
        Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
1489
        Test{complex(nan, -1), complex(-1, 0), complex(nan, nan)},
1490
        Test{complex(nan, -1), complex(-1, 1), complex(nan, nan)},
1491
        Test{complex(nan, -1), complex(-1, -1), complex(nan, nan)},
1492
        Test{complex(nan, -1), complex(-1, 2), complex(nan, nan)},
1493
        Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
1494
        Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
1495
        Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
1496
        Test{complex(nan, -1), complex(2, 0), complex(nan, nan)},
1497
        Test{complex(nan, -1), complex(2, 1), complex(nan, nan)},
1498
        Test{complex(nan, -1), complex(2, -1), complex(nan, nan)},
1499
        Test{complex(nan, -1), complex(2, 2), complex(nan, nan)},
1500
        Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
1501
        Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
1502
        Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
1503
        Test{complex(nan, -1), complex(nan, 0), complex(nan, nan)},
1504
        Test{complex(nan, -1), complex(nan, 1), complex(nan, nan)},
1505
        Test{complex(nan, -1), complex(nan, -1), complex(nan, nan)},
1506
        Test{complex(nan, -1), complex(nan, 2), complex(nan, nan)},
1507
        Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
1508
        Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
1509
        Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
1510
        Test{complex(nan, -1), complex(inf, 0), complex(nan, nan)},
1511
        Test{complex(nan, -1), complex(inf, 1), complex(nan, nan)},
1512
        Test{complex(nan, -1), complex(inf, -1), complex(nan, nan)},
1513
        Test{complex(nan, -1), complex(inf, 2), complex(nan, nan)},
1514
        Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
1515
        Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
1516
        Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
1517
        Test{complex(nan, -1), complex(-inf, 0), complex(nan, nan)},
1518
        Test{complex(nan, -1), complex(-inf, 1), complex(nan, nan)},
1519
        Test{complex(nan, -1), complex(-inf, -1), complex(nan, nan)},
1520
        Test{complex(nan, -1), complex(-inf, 2), complex(nan, nan)},
1521
        Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
1522
        Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
1523
        Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
1524
        Test{complex(nan, 2), complex(0, 0), complex(nan, nan)},
1525
        Test{complex(nan, 2), complex(0, 1), complex(nan, nan)},
1526
        Test{complex(nan, 2), complex(0, -1), complex(nan, nan)},
1527
        Test{complex(nan, 2), complex(0, 2), complex(nan, nan)},
1528
        Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
1529
        Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
1530
        Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
1531
        Test{complex(nan, 2), complex(1, 0), complex(nan, nan)},
1532
        Test{complex(nan, 2), complex(1, 1), complex(nan, nan)},
1533
        Test{complex(nan, 2), complex(1, -1), complex(nan, nan)},
1534
        Test{complex(nan, 2), complex(1, 2), complex(nan, nan)},
1535
        Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
1536
        Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
1537
        Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
1538
        Test{complex(nan, 2), complex(-1, 0), complex(nan, nan)},
1539
        Test{complex(nan, 2), complex(-1, 1), complex(nan, nan)},
1540
        Test{complex(nan, 2), complex(-1, -1), complex(nan, nan)},
1541
        Test{complex(nan, 2), complex(-1, 2), complex(nan, nan)},
1542
        Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
1543
        Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
1544
        Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
1545
        Test{complex(nan, 2), complex(2, 0), complex(nan, nan)},
1546
        Test{complex(nan, 2), complex(2, 1), complex(nan, nan)},
1547
        Test{complex(nan, 2), complex(2, -1), complex(nan, nan)},
1548
        Test{complex(nan, 2), complex(2, 2), complex(nan, nan)},
1549
        Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
1550
        Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
1551
        Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
1552
        Test{complex(nan, 2), complex(nan, 0), complex(nan, nan)},
1553
        Test{complex(nan, 2), complex(nan, 1), complex(nan, nan)},
1554
        Test{complex(nan, 2), complex(nan, -1), complex(nan, nan)},
1555
        Test{complex(nan, 2), complex(nan, 2), complex(nan, nan)},
1556
        Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
1557
        Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
1558
        Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
1559
        Test{complex(nan, 2), complex(inf, 0), complex(nan, nan)},
1560
        Test{complex(nan, 2), complex(inf, 1), complex(nan, nan)},
1561
        Test{complex(nan, 2), complex(inf, -1), complex(nan, nan)},
1562
        Test{complex(nan, 2), complex(inf, 2), complex(nan, nan)},
1563
        Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
1564
        Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
1565
        Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
1566
        Test{complex(nan, 2), complex(-inf, 0), complex(nan, nan)},
1567
        Test{complex(nan, 2), complex(-inf, 1), complex(nan, nan)},
1568
        Test{complex(nan, 2), complex(-inf, -1), complex(nan, nan)},
1569
        Test{complex(nan, 2), complex(-inf, 2), complex(nan, nan)},
1570
        Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
1571
        Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
1572
        Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
1573
        Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
1574
        Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
1575
        Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
1576
        Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
1577
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1578
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1579
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1580
        Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
1581
        Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
1582
        Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
1583
        Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
1584
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1585
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1586
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1587
        Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
1588
        Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
1589
        Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
1590
        Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
1591
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1592
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1593
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1594
        Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
1595
        Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
1596
        Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
1597
        Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
1598
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1599
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1600
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1601
        Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
1602
        Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
1603
        Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
1604
        Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
1605
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1606
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1607
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1608
        Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
1609
        Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
1610
        Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
1611
        Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
1612
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1613
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1614
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1615
        Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
1616
        Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
1617
        Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
1618
        Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
1619
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1620
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1621
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1622
        Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
1623
        Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
1624
        Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
1625
        Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
1626
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1627
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1628
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1629
        Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
1630
        Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
1631
        Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
1632
        Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
1633
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1634
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1635
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1636
        Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
1637
        Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
1638
        Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
1639
        Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
1640
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1641
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1642
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1643
        Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
1644
        Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
1645
        Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
1646
        Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
1647
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1648
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1649
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1650
        Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
1651
        Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
1652
        Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
1653
        Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
1654
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1655
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1656
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1657
        Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
1658
        Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
1659
        Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
1660
        Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
1661
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1662
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1663
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1664
        Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
1665
        Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
1666
        Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
1667
        Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
1668
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1669
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1670
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1671
        Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
1672
        Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
1673
        Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
1674
        Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
1675
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1676
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1677
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1678
        Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
1679
        Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
1680
        Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
1681
        Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
1682
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1683
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1684
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1685
        Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
1686
        Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
1687
        Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
1688
        Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
1689
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1690
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1691
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1692
        Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
1693
        Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
1694
        Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
1695
        Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
1696
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1697
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1698
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1699
        Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
1700
        Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
1701
        Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
1702
        Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
1703
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1704
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1705
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1706
        Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
1707
        Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
1708
        Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
1709
        Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
1710
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1711
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1712
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1713
        Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
1714
        Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
1715
        Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
1716
        Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
1717
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
1718
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
1719
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
1720
        Test{complex(inf, 0), complex(0, 0), complex(inf, -nan)},
1721
        Test{complex(inf, 0), complex(0, 1), complex(-nan, -inf)},
1722
        Test{complex(inf, 0), complex(0, -1), complex(-nan, inf)},
1723
        Test{complex(inf, 0), complex(0, 2), complex(-nan, -inf)},
1724
        Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
1725
        Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
1726
        Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
1727
        Test{complex(inf, 0), complex(1, 0), complex(inf, -nan)},
1728
        Test{complex(inf, 0), complex(1, 1), complex(inf, -inf)},
1729
        Test{complex(inf, 0), complex(1, -1), complex(inf, inf)},
1730
        Test{complex(inf, 0), complex(1, 2), complex(inf, -inf)},
1731
        Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
1732
        Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
1733
        Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
1734
        Test{complex(inf, 0), complex(-1, 0), complex(-inf, -nan)},
1735
        Test{complex(inf, 0), complex(-1, 1), complex(-inf, -inf)},
1736
        Test{complex(inf, 0), complex(-1, -1), complex(-inf, inf)},
1737
        Test{complex(inf, 0), complex(-1, 2), complex(-inf, -inf)},
1738
        Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
1739
        Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
1740
        Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
1741
        Test{complex(inf, 0), complex(2, 0), complex(inf, -nan)},
1742
        Test{complex(inf, 0), complex(2, 1), complex(inf, -inf)},
1743
        Test{complex(inf, 0), complex(2, -1), complex(inf, inf)},
1744
        Test{complex(inf, 0), complex(2, 2), complex(inf, -inf)},
1745
        Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
1746
        Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
1747
        Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
1748
        Test{complex(inf, 0), complex(nan, 0), complex(nan, nan)},
1749
        Test{complex(inf, 0), complex(nan, 1), complex(nan, nan)},
1750
        Test{complex(inf, 0), complex(nan, -1), complex(nan, nan)},
1751
        Test{complex(inf, 0), complex(nan, 2), complex(nan, nan)},
1752
        Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
1753
        Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
1754
        Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
1755
        Test{complex(inf, 0), complex(inf, 0), complex(-nan, -nan)},
1756
        Test{complex(inf, 0), complex(inf, 1), complex(-nan, -nan)},
1757
        Test{complex(inf, 0), complex(inf, -1), complex(-nan, -nan)},
1758
        Test{complex(inf, 0), complex(inf, 2), complex(-nan, -nan)},
1759
        Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
1760
        Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
1761
        Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
1762
        Test{complex(inf, 0), complex(-inf, 0), complex(-nan, -nan)},
1763
        Test{complex(inf, 0), complex(-inf, 1), complex(-nan, -nan)},
1764
        Test{complex(inf, 0), complex(-inf, -1), complex(-nan, -nan)},
1765
        Test{complex(inf, 0), complex(-inf, 2), complex(-nan, -nan)},
1766
        Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
1767
        Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
1768
        Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
1769
        Test{complex(inf, 1), complex(0, 0), complex(inf, inf)},
1770
        Test{complex(inf, 1), complex(0, 1), complex(-nan, -inf)},
1771
        Test{complex(inf, 1), complex(0, -1), complex(-nan, inf)},
1772
        Test{complex(inf, 1), complex(0, 2), complex(-nan, -inf)},
1773
        Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
1774
        Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
1775
        Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
1776
        Test{complex(inf, 1), complex(1, 0), complex(inf, -nan)},
1777
        Test{complex(inf, 1), complex(1, 1), complex(inf, -inf)},
1778
        Test{complex(inf, 1), complex(1, -1), complex(inf, inf)},
1779
        Test{complex(inf, 1), complex(1, 2), complex(inf, -inf)},
1780
        Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
1781
        Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
1782
        Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
1783
        Test{complex(inf, 1), complex(-1, 0), complex(-inf, -nan)},
1784
        Test{complex(inf, 1), complex(-1, 1), complex(-inf, -inf)},
1785
        Test{complex(inf, 1), complex(-1, -1), complex(-inf, inf)},
1786
        Test{complex(inf, 1), complex(-1, 2), complex(-inf, -inf)},
1787
        Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
1788
        Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
1789
        Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
1790
        Test{complex(inf, 1), complex(2, 0), complex(inf, -nan)},
1791
        Test{complex(inf, 1), complex(2, 1), complex(inf, -inf)},
1792
        Test{complex(inf, 1), complex(2, -1), complex(inf, inf)},
1793
        Test{complex(inf, 1), complex(2, 2), complex(inf, -inf)},
1794
        Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
1795
        Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
1796
        Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
1797
        Test{complex(inf, 1), complex(nan, 0), complex(nan, nan)},
1798
        Test{complex(inf, 1), complex(nan, 1), complex(nan, nan)},
1799
        Test{complex(inf, 1), complex(nan, -1), complex(nan, nan)},
1800
        Test{complex(inf, 1), complex(nan, 2), complex(nan, nan)},
1801
        Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
1802
        Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
1803
        Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
1804
        Test{complex(inf, 1), complex(inf, 0), complex(-nan, -nan)},
1805
        Test{complex(inf, 1), complex(inf, 1), complex(-nan, -nan)},
1806
        Test{complex(inf, 1), complex(inf, -1), complex(-nan, -nan)},
1807
        Test{complex(inf, 1), complex(inf, 2), complex(-nan, -nan)},
1808
        Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
1809
        Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
1810
        Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
1811
        Test{complex(inf, 1), complex(-inf, 0), complex(-nan, -nan)},
1812
        Test{complex(inf, 1), complex(-inf, 1), complex(-nan, -nan)},
1813
        Test{complex(inf, 1), complex(-inf, -1), complex(-nan, -nan)},
1814
        Test{complex(inf, 1), complex(-inf, 2), complex(-nan, -nan)},
1815
        Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
1816
        Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
1817
        Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
1818
        Test{complex(inf, -1), complex(0, 0), complex(inf, -inf)},
1819
        Test{complex(inf, -1), complex(0, 1), complex(-nan, -inf)},
1820
        Test{complex(inf, -1), complex(0, -1), complex(-nan, inf)},
1821
        Test{complex(inf, -1), complex(0, 2), complex(-nan, -inf)},
1822
        Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
1823
        Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
1824
        Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
1825
        Test{complex(inf, -1), complex(1, 0), complex(inf, -nan)},
1826
        Test{complex(inf, -1), complex(1, 1), complex(inf, -inf)},
1827
        Test{complex(inf, -1), complex(1, -1), complex(inf, inf)},
1828
        Test{complex(inf, -1), complex(1, 2), complex(inf, -inf)},
1829
        Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
1830
        Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
1831
        Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
1832
        Test{complex(inf, -1), complex(-1, 0), complex(-inf, -nan)},
1833
        Test{complex(inf, -1), complex(-1, 1), complex(-inf, -inf)},
1834
        Test{complex(inf, -1), complex(-1, -1), complex(-inf, inf)},
1835
        Test{complex(inf, -1), complex(-1, 2), complex(-inf, -inf)},
1836
        Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
1837
        Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
1838
        Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
1839
        Test{complex(inf, -1), complex(2, 0), complex(inf, -nan)},
1840
        Test{complex(inf, -1), complex(2, 1), complex(inf, -inf)},
1841
        Test{complex(inf, -1), complex(2, -1), complex(inf, inf)},
1842
        Test{complex(inf, -1), complex(2, 2), complex(inf, -inf)},
1843
        Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
1844
        Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
1845
        Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
1846
        Test{complex(inf, -1), complex(nan, 0), complex(nan, nan)},
1847
        Test{complex(inf, -1), complex(nan, 1), complex(nan, nan)},
1848
        Test{complex(inf, -1), complex(nan, -1), complex(nan, nan)},
1849
        Test{complex(inf, -1), complex(nan, 2), complex(nan, nan)},
1850
        Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
1851
        Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
1852
        Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
1853
        Test{complex(inf, -1), complex(inf, 0), complex(-nan, -nan)},
1854
        Test{complex(inf, -1), complex(inf, 1), complex(-nan, -nan)},
1855
        Test{complex(inf, -1), complex(inf, -1), complex(-nan, -nan)},
1856
        Test{complex(inf, -1), complex(inf, 2), complex(-nan, -nan)},
1857
        Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
1858
        Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
1859
        Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
1860
        Test{complex(inf, -1), complex(-inf, 0), complex(-nan, -nan)},
1861
        Test{complex(inf, -1), complex(-inf, 1), complex(-nan, -nan)},
1862
        Test{complex(inf, -1), complex(-inf, -1), complex(-nan, -nan)},
1863
        Test{complex(inf, -1), complex(-inf, 2), complex(-nan, -nan)},
1864
        Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
1865
        Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
1866
        Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
1867
        Test{complex(inf, 2), complex(0, 0), complex(inf, inf)},
1868
        Test{complex(inf, 2), complex(0, 1), complex(-nan, -inf)},
1869
        Test{complex(inf, 2), complex(0, -1), complex(-nan, inf)},
1870
        Test{complex(inf, 2), complex(0, 2), complex(-nan, -inf)},
1871
        Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
1872
        Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
1873
        Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
1874
        Test{complex(inf, 2), complex(1, 0), complex(inf, -nan)},
1875
        Test{complex(inf, 2), complex(1, 1), complex(inf, -inf)},
1876
        Test{complex(inf, 2), complex(1, -1), complex(inf, inf)},
1877
        Test{complex(inf, 2), complex(1, 2), complex(inf, -inf)},
1878
        Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
1879
        Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
1880
        Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
1881
        Test{complex(inf, 2), complex(-1, 0), complex(-inf, -nan)},
1882
        Test{complex(inf, 2), complex(-1, 1), complex(-inf, -inf)},
1883
        Test{complex(inf, 2), complex(-1, -1), complex(-inf, inf)},
1884
        Test{complex(inf, 2), complex(-1, 2), complex(-inf, -inf)},
1885
        Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
1886
        Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
1887
        Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
1888
        Test{complex(inf, 2), complex(2, 0), complex(inf, -nan)},
1889
        Test{complex(inf, 2), complex(2, 1), complex(inf, -inf)},
1890
        Test{complex(inf, 2), complex(2, -1), complex(inf, inf)},
1891
        Test{complex(inf, 2), complex(2, 2), complex(inf, -inf)},
1892
        Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
1893
        Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
1894
        Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
1895
        Test{complex(inf, 2), complex(nan, 0), complex(nan, nan)},
1896
        Test{complex(inf, 2), complex(nan, 1), complex(nan, nan)},
1897
        Test{complex(inf, 2), complex(nan, -1), complex(nan, nan)},
1898
        Test{complex(inf, 2), complex(nan, 2), complex(nan, nan)},
1899
        Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
1900
        Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
1901
        Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
1902
        Test{complex(inf, 2), complex(inf, 0), complex(-nan, -nan)},
1903
        Test{complex(inf, 2), complex(inf, 1), complex(-nan, -nan)},
1904
        Test{complex(inf, 2), complex(inf, -1), complex(-nan, -nan)},
1905
        Test{complex(inf, 2), complex(inf, 2), complex(-nan, -nan)},
1906
        Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
1907
        Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
1908
        Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
1909
        Test{complex(inf, 2), complex(-inf, 0), complex(-nan, -nan)},
1910
        Test{complex(inf, 2), complex(-inf, 1), complex(-nan, -nan)},
1911
        Test{complex(inf, 2), complex(-inf, -1), complex(-nan, -nan)},
1912
        Test{complex(inf, 2), complex(-inf, 2), complex(-nan, -nan)},
1913
        Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
1914
        Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
1915
        Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
1916
        Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
1917
        Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
1918
        Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
1919
        Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
1920
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1921
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1922
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1923
        Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
1924
        Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
1925
        Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
1926
        Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
1927
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1928
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1929
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1930
        Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
1931
        Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
1932
        Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
1933
        Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
1934
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1935
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1936
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1937
        Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
1938
        Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
1939
        Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
1940
        Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
1941
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1942
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1943
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1944
        Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
1945
        Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
1946
        Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
1947
        Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
1948
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1949
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1950
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1951
        Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
1952
        Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
1953
        Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
1954
        Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
1955
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1956
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1957
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1958
        Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
1959
        Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
1960
        Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
1961
        Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
1962
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
1963
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
1964
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
1965
        Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
1966
        Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
1967
        Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
1968
        Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
1969
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1970
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1971
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1972
        Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
1973
        Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
1974
        Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
1975
        Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
1976
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1977
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1978
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1979
        Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
1980
        Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
1981
        Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
1982
        Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
1983
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1984
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1985
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1986
        Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
1987
        Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
1988
        Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
1989
        Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
1990
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1991
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1992
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
1993
        Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
1994
        Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
1995
        Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
1996
        Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
1997
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
1998
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
1999
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2000
        Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
2001
        Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
2002
        Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
2003
        Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
2004
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
2005
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
2006
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2007
        Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
2008
        Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
2009
        Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
2010
        Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
2011
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
2012
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
2013
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2014
        Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
2015
        Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
2016
        Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
2017
        Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
2018
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2019
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2020
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2021
        Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
2022
        Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
2023
        Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
2024
        Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
2025
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2026
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2027
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2028
        Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
2029
        Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
2030
        Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
2031
        Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
2032
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2033
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2034
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2035
        Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
2036
        Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
2037
        Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
2038
        Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
2039
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2040
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2041
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2042
        Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
2043
        Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
2044
        Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
2045
        Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
2046
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2047
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2048
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2049
        Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
2050
        Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
2051
        Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
2052
        Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
2053
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2054
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2055
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2056
        Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
2057
        Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
2058
        Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
2059
        Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
2060
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2061
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2062
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2063
        Test{complex(-inf, 0), complex(0, 0), complex(-inf, -nan)},
2064
        Test{complex(-inf, 0), complex(0, 1), complex(-nan, inf)},
2065
        Test{complex(-inf, 0), complex(0, -1), complex(-nan, -inf)},
2066
        Test{complex(-inf, 0), complex(0, 2), complex(-nan, inf)},
2067
        Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
2068
        Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
2069
        Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
2070
        Test{complex(-inf, 0), complex(1, 0), complex(-inf, -nan)},
2071
        Test{complex(-inf, 0), complex(1, 1), complex(-inf, inf)},
2072
        Test{complex(-inf, 0), complex(1, -1), complex(-inf, -inf)},
2073
        Test{complex(-inf, 0), complex(1, 2), complex(-inf, inf)},
2074
        Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
2075
        Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
2076
        Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
2077
        Test{complex(-inf, 0), complex(-1, 0), complex(inf, -nan)},
2078
        Test{complex(-inf, 0), complex(-1, 1), complex(inf, inf)},
2079
        Test{complex(-inf, 0), complex(-1, -1), complex(inf, -inf)},
2080
        Test{complex(-inf, 0), complex(-1, 2), complex(inf, inf)},
2081
        Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
2082
        Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
2083
        Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
2084
        Test{complex(-inf, 0), complex(2, 0), complex(-inf, -nan)},
2085
        Test{complex(-inf, 0), complex(2, 1), complex(-inf, inf)},
2086
        Test{complex(-inf, 0), complex(2, -1), complex(-inf, -inf)},
2087
        Test{complex(-inf, 0), complex(2, 2), complex(-inf, inf)},
2088
        Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
2089
        Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
2090
        Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
2091
        Test{complex(-inf, 0), complex(nan, 0), complex(nan, nan)},
2092
        Test{complex(-inf, 0), complex(nan, 1), complex(nan, nan)},
2093
        Test{complex(-inf, 0), complex(nan, -1), complex(nan, nan)},
2094
        Test{complex(-inf, 0), complex(nan, 2), complex(nan, nan)},
2095
        Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
2096
        Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
2097
        Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
2098
        Test{complex(-inf, 0), complex(inf, 0), complex(-nan, -nan)},
2099
        Test{complex(-inf, 0), complex(inf, 1), complex(-nan, -nan)},
2100
        Test{complex(-inf, 0), complex(inf, -1), complex(-nan, -nan)},
2101
        Test{complex(-inf, 0), complex(inf, 2), complex(-nan, -nan)},
2102
        Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
2103
        Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
2104
        Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
2105
        Test{complex(-inf, 0), complex(-inf, 0), complex(-nan, -nan)},
2106
        Test{complex(-inf, 0), complex(-inf, 1), complex(-nan, -nan)},
2107
        Test{complex(-inf, 0), complex(-inf, -1), complex(-nan, -nan)},
2108
        Test{complex(-inf, 0), complex(-inf, 2), complex(-nan, -nan)},
2109
        Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
2110
        Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
2111
        Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
2112
        Test{complex(-inf, 1), complex(0, 0), complex(-inf, inf)},
2113
        Test{complex(-inf, 1), complex(0, 1), complex(-nan, inf)},
2114
        Test{complex(-inf, 1), complex(0, -1), complex(-nan, -inf)},
2115
        Test{complex(-inf, 1), complex(0, 2), complex(-nan, inf)},
2116
        Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
2117
        Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
2118
        Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
2119
        Test{complex(-inf, 1), complex(1, 0), complex(-inf, -nan)},
2120
        Test{complex(-inf, 1), complex(1, 1), complex(-inf, inf)},
2121
        Test{complex(-inf, 1), complex(1, -1), complex(-inf, -inf)},
2122
        Test{complex(-inf, 1), complex(1, 2), complex(-inf, inf)},
2123
        Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
2124
        Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
2125
        Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
2126
        Test{complex(-inf, 1), complex(-1, 0), complex(inf, -nan)},
2127
        Test{complex(-inf, 1), complex(-1, 1), complex(inf, inf)},
2128
        Test{complex(-inf, 1), complex(-1, -1), complex(inf, -inf)},
2129
        Test{complex(-inf, 1), complex(-1, 2), complex(inf, inf)},
2130
        Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
2131
        Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
2132
        Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
2133
        Test{complex(-inf, 1), complex(2, 0), complex(-inf, -nan)},
2134
        Test{complex(-inf, 1), complex(2, 1), complex(-inf, inf)},
2135
        Test{complex(-inf, 1), complex(2, -1), complex(-inf, -inf)},
2136
        Test{complex(-inf, 1), complex(2, 2), complex(-inf, inf)},
2137
        Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
2138
        Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
2139
        Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
2140
        Test{complex(-inf, 1), complex(nan, 0), complex(nan, nan)},
2141
        Test{complex(-inf, 1), complex(nan, 1), complex(nan, nan)},
2142
        Test{complex(-inf, 1), complex(nan, -1), complex(nan, nan)},
2143
        Test{complex(-inf, 1), complex(nan, 2), complex(nan, nan)},
2144
        Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
2145
        Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
2146
        Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
2147
        Test{complex(-inf, 1), complex(inf, 0), complex(-nan, -nan)},
2148
        Test{complex(-inf, 1), complex(inf, 1), complex(-nan, -nan)},
2149
        Test{complex(-inf, 1), complex(inf, -1), complex(-nan, -nan)},
2150
        Test{complex(-inf, 1), complex(inf, 2), complex(-nan, -nan)},
2151
        Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
2152
        Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
2153
        Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
2154
        Test{complex(-inf, 1), complex(-inf, 0), complex(-nan, -nan)},
2155
        Test{complex(-inf, 1), complex(-inf, 1), complex(-nan, -nan)},
2156
        Test{complex(-inf, 1), complex(-inf, -1), complex(-nan, -nan)},
2157
        Test{complex(-inf, 1), complex(-inf, 2), complex(-nan, -nan)},
2158
        Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
2159
        Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
2160
        Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
2161
        Test{complex(-inf, -1), complex(0, 0), complex(-inf, -inf)},
2162
        Test{complex(-inf, -1), complex(0, 1), complex(-nan, inf)},
2163
        Test{complex(-inf, -1), complex(0, -1), complex(-nan, -inf)},
2164
        Test{complex(-inf, -1), complex(0, 2), complex(-nan, inf)},
2165
        Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
2166
        Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
2167
        Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
2168
        Test{complex(-inf, -1), complex(1, 0), complex(-inf, -nan)},
2169
        Test{complex(-inf, -1), complex(1, 1), complex(-inf, inf)},
2170
        Test{complex(-inf, -1), complex(1, -1), complex(-inf, -inf)},
2171
        Test{complex(-inf, -1), complex(1, 2), complex(-inf, inf)},
2172
        Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
2173
        Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
2174
        Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
2175
        Test{complex(-inf, -1), complex(-1, 0), complex(inf, -nan)},
2176
        Test{complex(-inf, -1), complex(-1, 1), complex(inf, inf)},
2177
        Test{complex(-inf, -1), complex(-1, -1), complex(inf, -inf)},
2178
        Test{complex(-inf, -1), complex(-1, 2), complex(inf, inf)},
2179
        Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
2180
        Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
2181
        Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
2182
        Test{complex(-inf, -1), complex(2, 0), complex(-inf, -nan)},
2183
        Test{complex(-inf, -1), complex(2, 1), complex(-inf, inf)},
2184
        Test{complex(-inf, -1), complex(2, -1), complex(-inf, -inf)},
2185
        Test{complex(-inf, -1), complex(2, 2), complex(-inf, inf)},
2186
        Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
2187
        Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
2188
        Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
2189
        Test{complex(-inf, -1), complex(nan, 0), complex(nan, nan)},
2190
        Test{complex(-inf, -1), complex(nan, 1), complex(nan, nan)},
2191
        Test{complex(-inf, -1), complex(nan, -1), complex(nan, nan)},
2192
        Test{complex(-inf, -1), complex(nan, 2), complex(nan, nan)},
2193
        Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
2194
        Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
2195
        Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
2196
        Test{complex(-inf, -1), complex(inf, 0), complex(-nan, -nan)},
2197
        Test{complex(-inf, -1), complex(inf, 1), complex(-nan, -nan)},
2198
        Test{complex(-inf, -1), complex(inf, -1), complex(-nan, -nan)},
2199
        Test{complex(-inf, -1), complex(inf, 2), complex(-nan, -nan)},
2200
        Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
2201
        Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
2202
        Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
2203
        Test{complex(-inf, -1), complex(-inf, 0), complex(-nan, -nan)},
2204
        Test{complex(-inf, -1), complex(-inf, 1), complex(-nan, -nan)},
2205
        Test{complex(-inf, -1), complex(-inf, -1), complex(-nan, -nan)},
2206
        Test{complex(-inf, -1), complex(-inf, 2), complex(-nan, -nan)},
2207
        Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
2208
        Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
2209
        Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
2210
        Test{complex(-inf, 2), complex(0, 0), complex(-inf, inf)},
2211
        Test{complex(-inf, 2), complex(0, 1), complex(-nan, inf)},
2212
        Test{complex(-inf, 2), complex(0, -1), complex(-nan, -inf)},
2213
        Test{complex(-inf, 2), complex(0, 2), complex(-nan, inf)},
2214
        Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
2215
        Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
2216
        Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
2217
        Test{complex(-inf, 2), complex(1, 0), complex(-inf, -nan)},
2218
        Test{complex(-inf, 2), complex(1, 1), complex(-inf, inf)},
2219
        Test{complex(-inf, 2), complex(1, -1), complex(-inf, -inf)},
2220
        Test{complex(-inf, 2), complex(1, 2), complex(-inf, inf)},
2221
        Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
2222
        Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
2223
        Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
2224
        Test{complex(-inf, 2), complex(-1, 0), complex(inf, -nan)},
2225
        Test{complex(-inf, 2), complex(-1, 1), complex(inf, inf)},
2226
        Test{complex(-inf, 2), complex(-1, -1), complex(inf, -inf)},
2227
        Test{complex(-inf, 2), complex(-1, 2), complex(inf, inf)},
2228
        Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
2229
        Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
2230
        Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
2231
        Test{complex(-inf, 2), complex(2, 0), complex(-inf, -nan)},
2232
        Test{complex(-inf, 2), complex(2, 1), complex(-inf, inf)},
2233
        Test{complex(-inf, 2), complex(2, -1), complex(-inf, -inf)},
2234
        Test{complex(-inf, 2), complex(2, 2), complex(-inf, inf)},
2235
        Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
2236
        Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
2237
        Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
2238
        Test{complex(-inf, 2), complex(nan, 0), complex(nan, nan)},
2239
        Test{complex(-inf, 2), complex(nan, 1), complex(nan, nan)},
2240
        Test{complex(-inf, 2), complex(nan, -1), complex(nan, nan)},
2241
        Test{complex(-inf, 2), complex(nan, 2), complex(nan, nan)},
2242
        Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
2243
        Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
2244
        Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
2245
        Test{complex(-inf, 2), complex(inf, 0), complex(-nan, -nan)},
2246
        Test{complex(-inf, 2), complex(inf, 1), complex(-nan, -nan)},
2247
        Test{complex(-inf, 2), complex(inf, -1), complex(-nan, -nan)},
2248
        Test{complex(-inf, 2), complex(inf, 2), complex(-nan, -nan)},
2249
        Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
2250
        Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
2251
        Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
2252
        Test{complex(-inf, 2), complex(-inf, 0), complex(-nan, -nan)},
2253
        Test{complex(-inf, 2), complex(-inf, 1), complex(-nan, -nan)},
2254
        Test{complex(-inf, 2), complex(-inf, -1), complex(-nan, -nan)},
2255
        Test{complex(-inf, 2), complex(-inf, 2), complex(-nan, -nan)},
2256
        Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
2257
        Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
2258
        Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
2259
        Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
2260
        Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
2261
        Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
2262
        Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
2263
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
2264
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
2265
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
2266
        Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
2267
        Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
2268
        Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
2269
        Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
2270
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
2271
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
2272
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
2273
        Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
2274
        Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
2275
        Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
2276
        Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
2277
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
2278
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
2279
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
2280
        Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
2281
        Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
2282
        Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
2283
        Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
2284
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
2285
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
2286
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
2287
        Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
2288
        Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
2289
        Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
2290
        Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
2291
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
2292
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
2293
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
2294
        Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
2295
        Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
2296
        Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
2297
        Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
2298
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
2299
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
2300
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
2301
        Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
2302
        Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
2303
        Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
2304
        Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
2305
        Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
2306
        Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
2307
        Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
2308
        Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
2309
        Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
2310
        Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
2311
        Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
2312
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
2313
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
2314
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2315
        Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
2316
        Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
2317
        Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
2318
        Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
2319
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
2320
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
2321
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2322
        Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
2323
        Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
2324
        Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
2325
        Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
2326
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
2327
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
2328
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2329
        Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
2330
        Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
2331
        Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
2332
        Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
2333
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
2334
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
2335
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2336
        Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
2337
        Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
2338
        Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
2339
        Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
2340
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
2341
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
2342
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2343
        Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
2344
        Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
2345
        Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
2346
        Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
2347
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
2348
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
2349
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2350
        Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
2351
        Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
2352
        Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
2353
        Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
2354
        Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
2355
        Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
2356
        Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
2357
        Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
2358
        Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
2359
        Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
2360
        Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
2361
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2362
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2363
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2364
        Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
2365
        Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
2366
        Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
2367
        Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
2368
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2369
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2370
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2371
        Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
2372
        Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
2373
        Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
2374
        Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
2375
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2376
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2377
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2378
        Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
2379
        Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
2380
        Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
2381
        Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
2382
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2383
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2384
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2385
        Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
2386
        Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
2387
        Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
2388
        Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
2389
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2390
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2391
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2392
        Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
2393
        Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
2394
        Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
2395
        Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
2396
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2397
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2398
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2399
        Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
2400
        Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
2401
        Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
2402
        Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
2403
        Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
2404
        Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
2405
        Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
2406
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.