1------------------------------------------------------------------------
2-- divideint.decTest -- decimal integer division                      --
3-- Copyright (c) IBM Corporation, 1981, 2008.  All rights reserved.   --
4------------------------------------------------------------------------
5-- Please see the document "General Decimal Arithmetic Testcases"     --
6-- at http://www2.hursley.ibm.com/decimal for the description of      --
7-- these testcases.                                                   --
8--                                                                    --
9-- These testcases are experimental ('beta' versions), and they       --
10-- may contain errors.  They are offered on an as-is basis.  In       --
11-- particular, achieving the same results as the tests here is not    --
12-- a guarantee that an implementation complies with any Standard      --
13-- or specification.  The tests are not exhaustive.                   --
14--                                                                    --
15-- Please send comments, suggestions, and corrections to the author:  --
16--   Mike Cowlishaw, IBM Fellow                                       --
17--   IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK         --
18--   mfc@uk.ibm.com                                                   --
19------------------------------------------------------------------------
20version: 2.59
21
22extended:    1
23precision:   9
24rounding:    half_up
25maxExponent: 384
26minexponent: -383
27
28dvix001 divideint  1     1    ->  1
29dvix002 divideint  2     1    ->  2
30dvix003 divideint  1     2    ->  0
31dvix004 divideint  2     2    ->  1
32dvix005 divideint  0     1    ->  0
33dvix006 divideint  0     2    ->  0
34dvix007 divideint  1     3    ->  0
35dvix008 divideint  2     3    ->  0
36dvix009 divideint  3     3    ->  1
37
38dvix010 divideint  2.4   1    ->  2
39dvix011 divideint  2.4   -1   ->  -2
40dvix012 divideint  -2.4  1    ->  -2
41dvix013 divideint  -2.4  -1   ->  2
42dvix014 divideint  2.40  1    ->  2
43dvix015 divideint  2.400 1    ->  2
44dvix016 divideint  2.4   2    ->  1
45dvix017 divideint  2.400 2    ->  1
46dvix018 divideint  2.    2    ->  1
47dvix019 divideint  20    20   ->  1
48
49dvix020 divideint  187   187  ->  1
50dvix021 divideint  5     2    ->  2
51dvix022 divideint  5     2.0    ->  2
52dvix023 divideint  5     2.000  ->  2
53dvix024 divideint  5     0.200  ->  25
54dvix025 divideint  5     0.200  ->  25
55
56dvix030 divideint  1     2      ->  0
57dvix031 divideint  1     4      ->  0
58dvix032 divideint  1     8      ->  0
59dvix033 divideint  1     16     ->  0
60dvix034 divideint  1     32     ->  0
61dvix035 divideint  1     64     ->  0
62dvix040 divideint  1    -2      -> -0
63dvix041 divideint  1    -4      -> -0
64dvix042 divideint  1    -8      -> -0
65dvix043 divideint  1    -16     -> -0
66dvix044 divideint  1    -32     -> -0
67dvix045 divideint  1    -64     -> -0
68dvix050 divideint -1     2      -> -0
69dvix051 divideint -1     4      -> -0
70dvix052 divideint -1     8      -> -0
71dvix053 divideint -1     16     -> -0
72dvix054 divideint -1     32     -> -0
73dvix055 divideint -1     64     -> -0
74dvix060 divideint -1    -2      ->  0
75dvix061 divideint -1    -4      ->  0
76dvix062 divideint -1    -8      ->  0
77dvix063 divideint -1    -16     ->  0
78dvix064 divideint -1    -32     ->  0
79dvix065 divideint -1    -64     ->  0
80
81-- similar with powers of ten
82dvix160 divideint  1     1         ->  1
83dvix161 divideint  1     10        ->  0
84dvix162 divideint  1     100       ->  0
85dvix163 divideint  1     1000      ->  0
86dvix164 divideint  1     10000     ->  0
87dvix165 divideint  1     100000    ->  0
88dvix166 divideint  1     1000000   ->  0
89dvix167 divideint  1     10000000  ->  0
90dvix168 divideint  1     100000000 ->  0
91dvix170 divideint  1    -1         -> -1
92dvix171 divideint  1    -10        -> -0
93dvix172 divideint  1    -100       -> -0
94dvix173 divideint  1    -1000      -> -0
95dvix174 divideint  1    -10000     -> -0
96dvix175 divideint  1    -100000    -> -0
97dvix176 divideint  1    -1000000   -> -0
98dvix177 divideint  1    -10000000  -> -0
99dvix178 divideint  1    -100000000 -> -0
100dvix180 divideint -1     1         -> -1
101dvix181 divideint -1     10        -> -0
102dvix182 divideint -1     100       -> -0
103dvix183 divideint -1     1000      -> -0
104dvix184 divideint -1     10000     -> -0
105dvix185 divideint -1     100000    -> -0
106dvix186 divideint -1     1000000   -> -0
107dvix187 divideint -1     10000000  -> -0
108dvix188 divideint -1     100000000 -> -0
109dvix190 divideint -1    -1         ->  1
110dvix191 divideint -1    -10        ->  0
111dvix192 divideint -1    -100       ->  0
112dvix193 divideint -1    -1000      ->  0
113dvix194 divideint -1    -10000     ->  0
114dvix195 divideint -1    -100000    ->  0
115dvix196 divideint -1    -1000000   ->  0
116dvix197 divideint -1    -10000000  ->  0
117dvix198 divideint -1    -100000000 ->  0
118
119-- some long operand cases here
120dvix070 divideint  999999999     1  ->  999999999
121dvix071 divideint  999999999.4   1  ->  999999999
122dvix072 divideint  999999999.5   1  ->  999999999
123dvix073 divideint  999999999.9   1  ->  999999999
124dvix074 divideint  999999999.999 1  ->  999999999
125precision: 6
126dvix080 divideint  999999999     1  ->  NaN Division_impossible
127dvix081 divideint  99999999      1  ->  NaN Division_impossible
128dvix082 divideint  9999999       1  ->  NaN Division_impossible
129dvix083 divideint  999999        1  ->  999999
130dvix084 divideint  99999         1  ->  99999
131dvix085 divideint  9999          1  ->  9999
132dvix086 divideint  999           1  ->  999
133dvix087 divideint  99            1  ->  99
134dvix088 divideint  9             1  ->  9
135
136precision: 9
137dvix090 divideint  0.            1    ->  0
138dvix091 divideint  .0            1    ->  0
139dvix092 divideint  0.00          1    ->  0
140dvix093 divideint  0.00E+9       1    ->  0
141dvix094 divideint  0.0000E-50    1    ->  0
142
143dvix100 divideint  1  1   -> 1
144dvix101 divideint  1  2   -> 0
145dvix102 divideint  1  3   -> 0
146dvix103 divideint  1  4   -> 0
147dvix104 divideint  1  5   -> 0
148dvix105 divideint  1  6   -> 0
149dvix106 divideint  1  7   -> 0
150dvix107 divideint  1  8   -> 0
151dvix108 divideint  1  9   -> 0
152dvix109 divideint  1  10  -> 0
153dvix110 divideint  1  1   -> 1
154dvix111 divideint  2  1   -> 2
155dvix112 divideint  3  1   -> 3
156dvix113 divideint  4  1   -> 4
157dvix114 divideint  5  1   -> 5
158dvix115 divideint  6  1   -> 6
159dvix116 divideint  7  1   -> 7
160dvix117 divideint  8  1   -> 8
161dvix118 divideint  9  1   -> 9
162dvix119 divideint  10 1   -> 10
163
164-- from DiagBigDecimal
165dvix131 divideint  101.3   1     ->  101
166dvix132 divideint  101.0   1     ->  101
167dvix133 divideint  101.3   3     ->  33
168dvix134 divideint  101.0   3     ->  33
169dvix135 divideint  2.4     1     ->  2
170dvix136 divideint  2.400   1     ->  2
171dvix137 divideint  18      18    ->  1
172dvix138 divideint  1120    1000  ->  1
173dvix139 divideint  2.4     2     ->  1
174dvix140 divideint  2.400   2     ->  1
175dvix141 divideint  0.5     2.000 ->  0
176dvix142 divideint  8.005   7     ->  1
177dvix143 divideint  5       2     ->  2
178dvix144 divideint  0       2     ->  0
179dvix145 divideint  0.00    2     ->  0
180
181-- Others
182dvix150 divideint  12345  4.999  ->  2469
183dvix151 divideint  12345  4.99   ->  2473
184dvix152 divideint  12345  4.9    ->  2519
185dvix153 divideint  12345  5      ->  2469
186dvix154 divideint  12345  5.1    ->  2420
187dvix155 divideint  12345  5.01   ->  2464
188dvix156 divideint  12345  5.001  ->  2468
189dvix157 divideint    101  7.6    ->  13
190
191-- Various flavours of divideint by 0
192maxexponent: 999999999
193minexponent: -999999999
194dvix201 divideint  0      0   -> NaN Division_undefined
195dvix202 divideint  0.0E5  0   -> NaN Division_undefined
196dvix203 divideint  0.000  0   -> NaN Division_undefined
197dvix204 divideint  0.0001 0   -> Infinity Division_by_zero
198dvix205 divideint  0.01   0   -> Infinity Division_by_zero
199dvix206 divideint  0.1    0   -> Infinity Division_by_zero
200dvix207 divideint  1      0   -> Infinity Division_by_zero
201dvix208 divideint  1      0.0 -> Infinity Division_by_zero
202dvix209 divideint 10      0.0 -> Infinity Division_by_zero
203dvix210 divideint 1E+100  0.0 -> Infinity Division_by_zero
204dvix211 divideint 1E+1000 0   -> Infinity Division_by_zero
205dvix214 divideint  -0.0001 0   -> -Infinity Division_by_zero
206dvix215 divideint  -0.01   0   -> -Infinity Division_by_zero
207dvix216 divideint  -0.1    0   -> -Infinity Division_by_zero
208dvix217 divideint  -1      0   -> -Infinity Division_by_zero
209dvix218 divideint  -1      0.0 -> -Infinity Division_by_zero
210dvix219 divideint -10      0.0 -> -Infinity Division_by_zero
211dvix220 divideint -1E+100  0.0 -> -Infinity Division_by_zero
212dvix221 divideint -1E+1000 0   -> -Infinity Division_by_zero
213
214-- test some cases that are close to exponent overflow
215maxexponent: 999999999
216minexponent: -999999999
217dvix270 divideint 1 1e999999999    -> 0
218dvix271 divideint 1 0.9e999999999  -> 0
219dvix272 divideint 1 0.99e999999999 -> 0
220dvix273 divideint 1 0.999999999e999999999 -> 0
221dvix274 divideint 9e999999999    1       -> NaN Division_impossible
222dvix275 divideint 9.9e999999999  1       -> NaN Division_impossible
223dvix276 divideint 9.99e999999999 1       -> NaN Division_impossible
224dvix277 divideint 9.99999999e999999999 1 -> NaN Division_impossible
225
226dvix280 divideint 0.1 9e-999999999       -> NaN Division_impossible
227dvix281 divideint 0.1 99e-999999999      -> NaN Division_impossible
228dvix282 divideint 0.1 999e-999999999     -> NaN Division_impossible
229
230dvix283 divideint 0.1 9e-999999998       -> NaN Division_impossible
231dvix284 divideint 0.1 99e-999999998      -> NaN Division_impossible
232dvix285 divideint 0.1 999e-999999998     -> NaN Division_impossible
233dvix286 divideint 0.1 999e-999999997     -> NaN Division_impossible
234dvix287 divideint 0.1 9999e-999999997    -> NaN Division_impossible
235dvix288 divideint 0.1 99999e-999999997   -> NaN Division_impossible
236
237-- GD edge cases: lhs smaller than rhs but more digits
238dvix301  divideint  0.9      2      ->  0
239dvix302  divideint  0.9      2.0    ->  0
240dvix303  divideint  0.9      2.1    ->  0
241dvix304  divideint  0.9      2.00   ->  0
242dvix305  divideint  0.9      2.01   ->  0
243dvix306  divideint  0.12     1      ->  0
244dvix307  divideint  0.12     1.0    ->  0
245dvix308  divideint  0.12     1.00   ->  0
246dvix309  divideint  0.12     1.0    ->  0
247dvix310  divideint  0.12     1.00   ->  0
248dvix311  divideint  0.12     2      ->  0
249dvix312  divideint  0.12     2.0    ->  0
250dvix313  divideint  0.12     2.1    ->  0
251dvix314  divideint  0.12     2.00   ->  0
252dvix315  divideint  0.12     2.01   ->  0
253
254-- overflow and underflow tests [from divide]
255maxexponent: 999999999
256minexponent: -999999999
257dvix330 divideint +1.23456789012345E-0 9E+999999999    -> 0
258dvix331 divideint 9E+999999999 +0.23456789012345E-0 -> NaN Division_impossible
259dvix332 divideint +0.100 9E+999999999    -> 0
260dvix333 divideint 9E-999999999 +9.100    -> 0
261dvix335 divideint -1.23456789012345E-0 9E+999999999    -> -0
262dvix336 divideint 9E+999999999 -0.83456789012345E-0 -> NaN Division_impossible
263dvix337 divideint -0.100 9E+999999999    -> -0
264dvix338 divideint 9E-999999999 -9.100    -> -0
265
266-- long operand checks
267maxexponent: 999
268minexponent: -999
269precision: 9
270dvix401 divideint 12345678000 100 -> 123456780
271dvix402 divideint 1 12345678000   -> 0
272dvix403 divideint 1234567800  10  -> 123456780
273dvix404 divideint 1 1234567800    -> 0
274dvix405 divideint 1234567890  10  -> 123456789
275dvix406 divideint 1 1234567890    -> 0
276dvix407 divideint 1234567891  10  -> 123456789
277dvix408 divideint 1 1234567891    -> 0
278dvix409 divideint 12345678901 100 -> 123456789
279dvix410 divideint 1 12345678901   -> 0
280dvix411 divideint 1234567896  10  -> 123456789
281dvix412 divideint 1 1234567896    -> 0
282dvix413 divideint 12345678948 100 -> 123456789
283dvix414 divideint 12345678949 100 -> 123456789
284dvix415 divideint 12345678950 100 -> 123456789
285dvix416 divideint 12345678951 100 -> 123456789
286dvix417 divideint 12345678999 100 -> 123456789
287
288precision: 15
289dvix441 divideint 12345678000 1 -> 12345678000
290dvix442 divideint 1 12345678000 -> 0
291dvix443 divideint 1234567800  1 -> 1234567800
292dvix444 divideint 1 1234567800  -> 0
293dvix445 divideint 1234567890  1 -> 1234567890
294dvix446 divideint 1 1234567890  -> 0
295dvix447 divideint 1234567891  1 -> 1234567891
296dvix448 divideint 1 1234567891  -> 0
297dvix449 divideint 12345678901 1 -> 12345678901
298dvix450 divideint 1 12345678901 -> 0
299dvix451 divideint 1234567896  1 -> 1234567896
300dvix452 divideint 1 1234567896  -> 0
301
302precision:   9
303rounding:    half_up
304maxExponent: 999
305minexponent: -999
306
307-- more zeros, etc.
308dvix531 divideint 5.00 1E-3    -> 5000
309dvix532 divideint 00.00 0.000  -> NaN Division_undefined
310dvix533 divideint 00.00 0E-3   -> NaN Division_undefined
311dvix534 divideint  0    -0     -> NaN Division_undefined
312dvix535 divideint -0     0     -> NaN Division_undefined
313dvix536 divideint -0    -0     -> NaN Division_undefined
314
315dvix541 divideint  0    -1     -> -0
316dvix542 divideint -0    -1     ->  0
317dvix543 divideint  0     1     ->  0
318dvix544 divideint -0     1     -> -0
319dvix545 divideint -1     0     -> -Infinity Division_by_zero
320dvix546 divideint -1    -0     ->  Infinity Division_by_zero
321dvix547 divideint  1     0     ->  Infinity Division_by_zero
322dvix548 divideint  1    -0     -> -Infinity Division_by_zero
323
324dvix551 divideint  0.0  -1     -> -0
325dvix552 divideint -0.0  -1     ->  0
326dvix553 divideint  0.0   1     ->  0
327dvix554 divideint -0.0   1     -> -0
328dvix555 divideint -1.0   0     -> -Infinity Division_by_zero
329dvix556 divideint -1.0  -0     ->  Infinity Division_by_zero
330dvix557 divideint  1.0   0     ->  Infinity Division_by_zero
331dvix558 divideint  1.0  -0     -> -Infinity Division_by_zero
332
333dvix561 divideint  0    -1.0   -> -0
334dvix562 divideint -0    -1.0   ->  0
335dvix563 divideint  0     1.0   ->  0
336dvix564 divideint -0     1.0   -> -0
337dvix565 divideint -1     0.0   -> -Infinity Division_by_zero
338dvix566 divideint -1    -0.0   ->  Infinity Division_by_zero
339dvix567 divideint  1     0.0   ->  Infinity Division_by_zero
340dvix568 divideint  1    -0.0   -> -Infinity Division_by_zero
341
342dvix571 divideint  0.0  -1.0   -> -0
343dvix572 divideint -0.0  -1.0   ->  0
344dvix573 divideint  0.0   1.0   ->  0
345dvix574 divideint -0.0   1.0   -> -0
346dvix575 divideint -1.0   0.0   -> -Infinity Division_by_zero
347dvix576 divideint -1.0  -0.0   ->  Infinity Division_by_zero
348dvix577 divideint  1.0   0.0   ->  Infinity Division_by_zero
349dvix578 divideint  1.0  -0.0   -> -Infinity Division_by_zero
350
351-- Specials
352dvix580 divideint  Inf  -Inf   ->  NaN Invalid_operation
353dvix581 divideint  Inf  -1000  -> -Infinity
354dvix582 divideint  Inf  -1     -> -Infinity
355dvix583 divideint  Inf  -0     -> -Infinity
356dvix584 divideint  Inf   0     ->  Infinity
357dvix585 divideint  Inf   1     ->  Infinity
358dvix586 divideint  Inf   1000  ->  Infinity
359dvix587 divideint  Inf   Inf   ->  NaN Invalid_operation
360dvix588 divideint -1000  Inf   -> -0
361dvix589 divideint -Inf   Inf   ->  NaN Invalid_operation
362dvix590 divideint -1     Inf   -> -0
363dvix591 divideint -0     Inf   -> -0
364dvix592 divideint  0     Inf   ->  0
365dvix593 divideint  1     Inf   ->  0
366dvix594 divideint  1000  Inf   ->  0
367dvix595 divideint  Inf   Inf   ->  NaN Invalid_operation
368
369dvix600 divideint -Inf  -Inf   ->  NaN Invalid_operation
370dvix601 divideint -Inf  -1000  ->  Infinity
371dvix602 divideint -Inf  -1     ->  Infinity
372dvix603 divideint -Inf  -0     ->  Infinity
373dvix604 divideint -Inf   0     -> -Infinity
374dvix605 divideint -Inf   1     -> -Infinity
375dvix606 divideint -Inf   1000  -> -Infinity
376dvix607 divideint -Inf   Inf   ->  NaN Invalid_operation
377dvix608 divideint -1000  Inf   -> -0
378dvix609 divideint -Inf  -Inf   ->  NaN Invalid_operation
379dvix610 divideint -1    -Inf   ->  0
380dvix611 divideint -0    -Inf   ->  0
381dvix612 divideint  0    -Inf   -> -0
382dvix613 divideint  1    -Inf   -> -0
383dvix614 divideint  1000 -Inf   -> -0
384dvix615 divideint  Inf  -Inf   ->  NaN Invalid_operation
385
386dvix621 divideint  NaN -Inf    ->  NaN
387dvix622 divideint  NaN -1000   ->  NaN
388dvix623 divideint  NaN -1      ->  NaN
389dvix624 divideint  NaN -0      ->  NaN
390dvix625 divideint  NaN  0      ->  NaN
391dvix626 divideint  NaN  1      ->  NaN
392dvix627 divideint  NaN  1000   ->  NaN
393dvix628 divideint  NaN  Inf    ->  NaN
394dvix629 divideint  NaN  NaN    ->  NaN
395dvix630 divideint -Inf  NaN    ->  NaN
396dvix631 divideint -1000 NaN    ->  NaN
397dvix632 divideint -1    NaN    ->  NaN
398dvix633 divideint -0    NaN    ->  NaN
399dvix634 divideint  0    NaN    ->  NaN
400dvix635 divideint  1    NaN    ->  NaN
401dvix636 divideint  1000 NaN    ->  NaN
402dvix637 divideint  Inf  NaN    ->  NaN
403
404dvix641 divideint  sNaN -Inf   ->  NaN  Invalid_operation
405dvix642 divideint  sNaN -1000  ->  NaN  Invalid_operation
406dvix643 divideint  sNaN -1     ->  NaN  Invalid_operation
407dvix644 divideint  sNaN -0     ->  NaN  Invalid_operation
408dvix645 divideint  sNaN  0     ->  NaN  Invalid_operation
409dvix646 divideint  sNaN  1     ->  NaN  Invalid_operation
410dvix647 divideint  sNaN  1000  ->  NaN  Invalid_operation
411dvix648 divideint  sNaN  NaN   ->  NaN  Invalid_operation
412dvix649 divideint  sNaN sNaN   ->  NaN  Invalid_operation
413dvix650 divideint  NaN  sNaN   ->  NaN  Invalid_operation
414dvix651 divideint -Inf  sNaN   ->  NaN  Invalid_operation
415dvix652 divideint -1000 sNaN   ->  NaN  Invalid_operation
416dvix653 divideint -1    sNaN   ->  NaN  Invalid_operation
417dvix654 divideint -0    sNaN   ->  NaN  Invalid_operation
418dvix655 divideint  0    sNaN   ->  NaN  Invalid_operation
419dvix656 divideint  1    sNaN   ->  NaN  Invalid_operation
420dvix657 divideint  1000 sNaN   ->  NaN  Invalid_operation
421dvix658 divideint  Inf  sNaN   ->  NaN  Invalid_operation
422dvix659 divideint  NaN  sNaN   ->  NaN  Invalid_operation
423
424-- propagating NaNs
425dvix661 divideint  NaN9 -Inf   ->  NaN9
426dvix662 divideint  NaN8  1000  ->  NaN8
427dvix663 divideint  NaN7  Inf   ->  NaN7
428dvix664 divideint -NaN6  NaN5  -> -NaN6
429dvix665 divideint -Inf   NaN4  ->  NaN4
430dvix666 divideint -1000  NaN3  ->  NaN3
431dvix667 divideint  Inf  -NaN2  -> -NaN2
432
433dvix671 divideint -sNaN99 -Inf    -> -NaN99 Invalid_operation
434dvix672 divideint  sNaN98 -1      ->  NaN98 Invalid_operation
435dvix673 divideint  sNaN97  NaN    ->  NaN97 Invalid_operation
436dvix674 divideint  sNaN96 sNaN94  ->  NaN96 Invalid_operation
437dvix675 divideint  NaN95  sNaN93  ->  NaN93 Invalid_operation
438dvix676 divideint -Inf    sNaN92  ->  NaN92 Invalid_operation
439dvix677 divideint  0      sNaN91  ->  NaN91 Invalid_operation
440dvix678 divideint  Inf   -sNaN90  -> -NaN90 Invalid_operation
441dvix679 divideint  NaN    sNaN89  ->  NaN89 Invalid_operation
442
443-- some long operand cases again
444precision: 8
445dvix710 divideint  100000001     1  ->  NaN Division_impossible
446dvix711 divideint  100000000.4   1  ->  NaN Division_impossible
447dvix712 divideint  100000000.5   1  ->  NaN Division_impossible
448dvix713 divideint  100000000.9   1  ->  NaN Division_impossible
449dvix714 divideint  100000000.999 1  ->  NaN Division_impossible
450precision: 6
451dvix720 divideint  100000000     1  ->  NaN Division_impossible
452dvix721 divideint  10000000      1  ->  NaN Division_impossible
453dvix722 divideint  1000000       1  ->  NaN Division_impossible
454dvix723 divideint  100000        1  ->  100000
455dvix724 divideint  10000         1  ->  10000
456dvix725 divideint  1000          1  ->  1000
457dvix726 divideint  100           1  ->  100
458dvix727 divideint  10            1  ->  10
459dvix728 divideint  1             1  ->  1
460dvix729 divideint  1            10  ->  0
461
462precision: 9
463maxexponent: 999999999
464minexponent: -999999999
465dvix732 divideint 1 0.99e999999999 -> 0
466dvix733 divideint 1 0.999999999e999999999 -> 0
467dvix734 divideint 9e999999999    1       -> NaN Division_impossible
468dvix735 divideint 9.9e999999999  1       -> NaN Division_impossible
469dvix736 divideint 9.99e999999999 1       -> NaN Division_impossible
470dvix737 divideint 9.99999999e999999999 1 -> NaN Division_impossible
471
472dvix740 divideint 0.1 9e-999999999       -> NaN Division_impossible
473dvix741 divideint 0.1 99e-999999999      -> NaN Division_impossible
474dvix742 divideint 0.1 999e-999999999     -> NaN Division_impossible
475
476dvix743 divideint 0.1 9e-999999998       -> NaN Division_impossible
477dvix744 divideint 0.1 99e-999999998      -> NaN Division_impossible
478dvix745 divideint 0.1 999e-999999998     -> NaN Division_impossible
479dvix746 divideint 0.1 999e-999999997     -> NaN Division_impossible
480dvix747 divideint 0.1 9999e-999999997    -> NaN Division_impossible
481dvix748 divideint 0.1 99999e-999999997   -> NaN Division_impossible
482
483
484-- Null tests
485dvix900 divideint  10  # -> NaN Invalid_operation
486dvix901 divideint   # 10 -> NaN Invalid_operation
487