1------------------------------------------------------------------------
2-- ddEncode.decTest -- decimal eight-byte format testcases            --
3-- Copyright (c) IBM Corporation, 2000, 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------------------------------------------------------------------------
20-- [Previously called decimal64.decTest]
21version: 2.59
22
23-- This set of tests is for the eight-byte concrete representation.
24-- Its characteristics are:
25--
26--  1 bit  sign
27--  5 bits combination field
28--  8 bits exponent continuation
29-- 50 bits coefficient continuation
30--
31-- Total exponent length 10 bits
32-- Total coefficient length 54 bits (16 digits)
33--
34-- Elimit =  767 (maximum encoded exponent)
35-- Emax   =  384 (largest exponent value)
36-- Emin   = -383 (smallest exponent value)
37-- bias   =  398 (subtracted from encoded exponent) = -Etiny
38
39-- The testcases here have only exactly representable data on the
40-- 'left-hand-side'; rounding from strings is tested in 'base'
41-- testcase groups.
42
43extended:    1
44clamp:       1
45precision:   16
46rounding:    half_up
47maxExponent: 384
48minExponent: -383
49
50-- General testcases
51-- (mostly derived from the Strawman 4 document and examples)
52dece001 apply   #A2300000000003D0 -> -7.50
53dece002 apply   -7.50             -> #A2300000000003D0
54-- derivative canonical plain strings
55dece003 apply   #A23c0000000003D0 -> -7.50E+3
56dece004 apply   -7.50E+3          -> #A23c0000000003D0
57dece005 apply   #A2380000000003D0 -> -750
58dece006 apply   -750              -> #A2380000000003D0
59dece007 apply   #A2340000000003D0 -> -75.0
60dece008 apply   -75.0             -> #A2340000000003D0
61dece009 apply   #A22c0000000003D0 -> -0.750
62dece010 apply   -0.750            -> #A22c0000000003D0
63dece011 apply   #A2280000000003D0 -> -0.0750
64dece012 apply   -0.0750           -> #A2280000000003D0
65dece013 apply   #A2200000000003D0 -> -0.000750
66dece014 apply   -0.000750         -> #A2200000000003D0
67dece015 apply   #A2180000000003D0 -> -0.00000750
68dece016 apply   -0.00000750       -> #A2180000000003D0
69dece017 apply   #A2140000000003D0 -> -7.50E-7
70dece018 apply   -7.50E-7          -> #A2140000000003D0
71
72-- Normality
73dece020 apply   1234567890123456   -> #263934b9c1e28e56
74dece021 apply  -1234567890123456   -> #a63934b9c1e28e56
75dece022 apply   1234.567890123456  -> #260934b9c1e28e56
76dece023 apply  #260934b9c1e28e56   -> 1234.567890123456
77dece024 apply   1111111111111111   -> #2638912449124491
78dece025 apply   9999999999999999   -> #6e38ff3fcff3fcff
79
80-- Nmax and similar
81dece031 apply   9999999999999999E+369   -> #77fcff3fcff3fcff
82dece032 apply   9.999999999999999E+384  -> #77fcff3fcff3fcff
83dece033 apply   #77fcff3fcff3fcff       -> 9.999999999999999E+384
84dece034 apply   1.234567890123456E+384  -> #47fd34b9c1e28e56
85dece035 apply   #47fd34b9c1e28e56       -> 1.234567890123456E+384
86-- fold-downs (more below)
87dece036 apply   1.23E+384               -> #47fd300000000000 Clamped
88dece037 apply   #47fd300000000000       -> 1.230000000000000E+384
89decd038 apply   1E+384                  -> #47fc000000000000 Clamped
90decd039 apply   #47fc000000000000       -> 1.000000000000000E+384
91
92decd051 apply   12345                   -> #22380000000049c5
93decd052 apply   #22380000000049c5       -> 12345
94decd053 apply   1234                    -> #2238000000000534
95decd054 apply   #2238000000000534       -> 1234
96decd055 apply   123                     -> #22380000000000a3
97decd056 apply   #22380000000000a3       -> 123
98decd057 apply   12                      -> #2238000000000012
99decd058 apply   #2238000000000012       -> 12
100decd059 apply   1                       -> #2238000000000001
101decd060 apply   #2238000000000001       -> 1
102decd061 apply   1.23                    -> #22300000000000a3
103decd062 apply   #22300000000000a3       -> 1.23
104decd063 apply   123.45                  -> #22300000000049c5
105decd064 apply   #22300000000049c5       -> 123.45
106
107-- Nmin and below
108decd071 apply   1E-383                  -> #003c000000000001
109decd072 apply   #003c000000000001       -> 1E-383
110decd073 apply   1.000000000000000E-383  -> #0400000000000000
111decd074 apply   #0400000000000000       -> 1.000000000000000E-383
112decd075 apply   1.000000000000001E-383  -> #0400000000000001
113decd076 apply   #0400000000000001       -> 1.000000000000001E-383
114
115decd077 apply   0.100000000000000E-383  -> #0000800000000000      Subnormal
116decd078 apply   #0000800000000000       -> 1.00000000000000E-384  Subnormal
117decd079 apply   0.000000000000010E-383  -> #0000000000000010      Subnormal
118decd080 apply   #0000000000000010       -> 1.0E-397               Subnormal
119decd081 apply   0.00000000000001E-383   -> #0004000000000001      Subnormal
120decd082 apply   #0004000000000001       -> 1E-397                 Subnormal
121decd083 apply   0.000000000000001E-383  -> #0000000000000001      Subnormal
122decd084 apply   #0000000000000001       -> 1E-398                 Subnormal
123-- next is smallest all-nines
124decd085 apply   9999999999999999E-398   -> #6400ff3fcff3fcff
125decd086 apply   #6400ff3fcff3fcff       -> 9.999999999999999E-383
126-- and a problematic divide result
127decd088 apply   1.111111111111111E-383  -> #0400912449124491
128decd089 apply   #0400912449124491       -> 1.111111111111111E-383
129
130-- forties
131decd090 apply        40                -> #2238000000000040
132decd091 apply        39.99             -> #2230000000000cff
133
134-- underflows cannot be tested as all LHS exact
135
136-- Same again, negatives
137-- Nmax and similar
138decd122 apply  -9.999999999999999E+384  -> #f7fcff3fcff3fcff
139decd123 apply   #f7fcff3fcff3fcff       -> -9.999999999999999E+384
140decd124 apply  -1.234567890123456E+384  -> #c7fd34b9c1e28e56
141decd125 apply   #c7fd34b9c1e28e56       -> -1.234567890123456E+384
142-- fold-downs (more below)
143decd130 apply  -1.23E+384               -> #c7fd300000000000 Clamped
144decd131 apply   #c7fd300000000000       -> -1.230000000000000E+384
145decd132 apply  -1E+384                  -> #c7fc000000000000 Clamped
146decd133 apply   #c7fc000000000000       -> -1.000000000000000E+384
147
148-- overflows
149decd151 apply  -12345                   -> #a2380000000049c5
150decd152 apply   #a2380000000049c5       -> -12345
151decd153 apply  -1234                    -> #a238000000000534
152decd154 apply   #a238000000000534       -> -1234
153decd155 apply  -123                     -> #a2380000000000a3
154decd156 apply   #a2380000000000a3       -> -123
155decd157 apply  -12                      -> #a238000000000012
156decd158 apply   #a238000000000012       -> -12
157decd159 apply  -1                       -> #a238000000000001
158decd160 apply   #a238000000000001       -> -1
159decd161 apply  -1.23                    -> #a2300000000000a3
160decd162 apply   #a2300000000000a3       -> -1.23
161decd163 apply  -123.45                  -> #a2300000000049c5
162decd164 apply   #a2300000000049c5       -> -123.45
163
164-- Nmin and below
165decd171 apply  -1E-383                  -> #803c000000000001
166decd172 apply   #803c000000000001       -> -1E-383
167decd173 apply  -1.000000000000000E-383  -> #8400000000000000
168decd174 apply   #8400000000000000       -> -1.000000000000000E-383
169decd175 apply  -1.000000000000001E-383  -> #8400000000000001
170decd176 apply   #8400000000000001       -> -1.000000000000001E-383
171
172decd177 apply  -0.100000000000000E-383  -> #8000800000000000       Subnormal
173decd178 apply   #8000800000000000       -> -1.00000000000000E-384  Subnormal
174decd179 apply  -0.000000000000010E-383  -> #8000000000000010       Subnormal
175decd180 apply   #8000000000000010       -> -1.0E-397               Subnormal
176decd181 apply  -0.00000000000001E-383   -> #8004000000000001       Subnormal
177decd182 apply   #8004000000000001       -> -1E-397                 Subnormal
178decd183 apply  -0.000000000000001E-383  -> #8000000000000001       Subnormal
179decd184 apply   #8000000000000001       -> -1E-398                 Subnormal
180-- next is smallest all-nines
181decd185 apply   -9999999999999999E-398   -> #e400ff3fcff3fcff
182decd186 apply   #e400ff3fcff3fcff       -> -9.999999999999999E-383
183-- and a tricky subnormal
184decd187 apply   1.11111111111524E-384    -> #00009124491246a4      Subnormal
185decd188 apply   #00009124491246a4        -> 1.11111111111524E-384  Subnormal
186
187-- near-underflows
188decd189 apply   -1e-398                 -> #8000000000000001  Subnormal
189decd190 apply   -1.0e-398               -> #8000000000000001  Subnormal Rounded
190
191-- zeros
192decd401 apply   0E-500                  -> #0000000000000000  Clamped
193decd402 apply   0E-400                  -> #0000000000000000  Clamped
194decd403 apply   0E-398                  -> #0000000000000000
195decd404 apply   #0000000000000000       -> 0E-398
196decd405 apply   0.000000000000000E-383  -> #0000000000000000
197decd406 apply   #0000000000000000       -> 0E-398
198decd407 apply   0E-2                    -> #2230000000000000
199decd408 apply   #2230000000000000       -> 0.00
200decd409 apply   0                       -> #2238000000000000
201decd410 apply   #2238000000000000       -> 0
202decd411 apply   0E+3                    -> #2244000000000000
203decd412 apply   #2244000000000000       -> 0E+3
204decd413 apply   0E+369                  -> #43fc000000000000
205decd414 apply   #43fc000000000000       -> 0E+369
206-- clamped zeros...
207decd415 apply   0E+370                  -> #43fc000000000000  Clamped
208decd416 apply   #43fc000000000000       -> 0E+369
209decd417 apply   0E+384                  -> #43fc000000000000  Clamped
210decd418 apply   #43fc000000000000       -> 0E+369
211decd419 apply   0E+400                  -> #43fc000000000000  Clamped
212decd420 apply   #43fc000000000000       -> 0E+369
213decd421 apply   0E+500                  -> #43fc000000000000  Clamped
214decd422 apply   #43fc000000000000       -> 0E+369
215
216-- negative zeros
217decd431 apply   -0E-400                 -> #8000000000000000  Clamped
218decd432 apply   -0E-400                 -> #8000000000000000  Clamped
219decd433 apply   -0E-398                 -> #8000000000000000
220decd434 apply   #8000000000000000       -> -0E-398
221decd435 apply   -0.000000000000000E-383 -> #8000000000000000
222decd436 apply   #8000000000000000       -> -0E-398
223decd437 apply   -0E-2                   -> #a230000000000000
224decd438 apply   #a230000000000000       -> -0.00
225decd439 apply   -0                      -> #a238000000000000
226decd440 apply   #a238000000000000       -> -0
227decd441 apply   -0E+3                   -> #a244000000000000
228decd442 apply   #a244000000000000       -> -0E+3
229decd443 apply   -0E+369                 -> #c3fc000000000000
230decd444 apply   #c3fc000000000000       -> -0E+369
231-- clamped zeros...
232decd445 apply   -0E+370                 -> #c3fc000000000000  Clamped
233decd446 apply   #c3fc000000000000       -> -0E+369
234decd447 apply   -0E+384                 -> #c3fc000000000000  Clamped
235decd448 apply   #c3fc000000000000       -> -0E+369
236decd449 apply   -0E+400                 -> #c3fc000000000000  Clamped
237decd450 apply   #c3fc000000000000       -> -0E+369
238decd451 apply   -0E+500                 -> #c3fc000000000000  Clamped
239decd452 apply   #c3fc000000000000       -> -0E+369
240
241-- exponents
242decd460 apply   #225c000000000007 -> 7E+9
243decd461 apply   7E+9  -> #225c000000000007
244decd462 apply   #23c4000000000007 -> 7E+99
245decd463 apply   7E+99 -> #23c4000000000007
246
247-- Specials
248decd500 apply   Infinity          -> #7800000000000000
249decd501 apply   #7878787878787878 -> #7800000000000000
250decd502 apply   #7800000000000000 -> Infinity
251decd503 apply   #7979797979797979 -> #7800000000000000
252decd504 apply   #7900000000000000 -> Infinity
253decd505 apply   #7a7a7a7a7a7a7a7a -> #7800000000000000
254decd506 apply   #7a00000000000000 -> Infinity
255decd507 apply   #7b7b7b7b7b7b7b7b -> #7800000000000000
256decd508 apply   #7b00000000000000 -> Infinity
257
258decd509 apply   NaN               -> #7c00000000000000
259decd510 apply   #7c7c7c7c7c7c7c7c -> #7c007c7c7c7c7c7c
260decd511 apply   #7c00000000000000 -> NaN
261decd512 apply   #7d7d7d7d7d7d7d7d -> #7c017d7d7d7d7d7d
262decd513 apply   #7d00000000000000 -> NaN
263decd514 apply   #7e7e7e7e7e7e7e7e -> #7e007e7e7e7e7c7e
264decd515 apply   #7e00000000000000 -> sNaN
265decd516 apply   #7f7f7f7f7f7f7f7f -> #7e007f7f7f7f7c7f
266decd517 apply   #7f00000000000000 -> sNaN
267decd518 apply   #7fffffffffffffff -> sNaN999999999999999
268decd519 apply   #7fffffffffffffff -> #7e00ff3fcff3fcff
269
270decd520 apply   -Infinity         -> #f800000000000000
271decd521 apply   #f878787878787878 -> #f800000000000000
272decd522 apply   #f800000000000000 -> -Infinity
273decd523 apply   #f979797979797979 -> #f800000000000000
274decd524 apply   #f900000000000000 -> -Infinity
275decd525 apply   #fa7a7a7a7a7a7a7a -> #f800000000000000
276decd526 apply   #fa00000000000000 -> -Infinity
277decd527 apply   #fb7b7b7b7b7b7b7b -> #f800000000000000
278decd528 apply   #fb00000000000000 -> -Infinity
279
280decd529 apply   -NaN              -> #fc00000000000000
281decd530 apply   #fc7c7c7c7c7c7c7c -> #fc007c7c7c7c7c7c
282decd531 apply   #fc00000000000000 -> -NaN
283decd532 apply   #fd7d7d7d7d7d7d7d -> #fc017d7d7d7d7d7d
284decd533 apply   #fd00000000000000 -> -NaN
285decd534 apply   #fe7e7e7e7e7e7e7e -> #fe007e7e7e7e7c7e
286decd535 apply   #fe00000000000000 -> -sNaN
287decd536 apply   #ff7f7f7f7f7f7f7f -> #fe007f7f7f7f7c7f
288decd537 apply   #ff00000000000000 -> -sNaN
289decd538 apply   #ffffffffffffffff -> -sNaN999999999999999
290decd539 apply   #ffffffffffffffff -> #fe00ff3fcff3fcff
291
292-- diagnostic NaNs
293decd540 apply   NaN                 -> #7c00000000000000
294decd541 apply   NaN0                -> #7c00000000000000
295decd542 apply   NaN1                -> #7c00000000000001
296decd543 apply   NaN12               -> #7c00000000000012
297decd544 apply   NaN79               -> #7c00000000000079
298decd545 apply   NaN12345            -> #7c000000000049c5
299decd546 apply   NaN123456           -> #7c00000000028e56
300decd547 apply   NaN799799           -> #7c000000000f7fdf
301decd548 apply   NaN799799799799799  -> #7c03dff7fdff7fdf
302decd549 apply   NaN999999999999999  -> #7c00ff3fcff3fcff
303-- too many digits
304
305-- fold-down full sequence
306decd601 apply   1E+384                  -> #47fc000000000000 Clamped
307decd602 apply   #47fc000000000000       -> 1.000000000000000E+384
308decd603 apply   1E+383                  -> #43fc800000000000 Clamped
309decd604 apply   #43fc800000000000       -> 1.00000000000000E+383
310decd605 apply   1E+382                  -> #43fc100000000000 Clamped
311decd606 apply   #43fc100000000000       -> 1.0000000000000E+382
312decd607 apply   1E+381                  -> #43fc010000000000 Clamped
313decd608 apply   #43fc010000000000       -> 1.000000000000E+381
314decd609 apply   1E+380                  -> #43fc002000000000 Clamped
315decd610 apply   #43fc002000000000       -> 1.00000000000E+380
316decd611 apply   1E+379                  -> #43fc000400000000 Clamped
317decd612 apply   #43fc000400000000       -> 1.0000000000E+379
318decd613 apply   1E+378                  -> #43fc000040000000 Clamped
319decd614 apply   #43fc000040000000       -> 1.000000000E+378
320decd615 apply   1E+377                  -> #43fc000008000000 Clamped
321decd616 apply   #43fc000008000000       -> 1.00000000E+377
322decd617 apply   1E+376                  -> #43fc000001000000 Clamped
323decd618 apply   #43fc000001000000       -> 1.0000000E+376
324decd619 apply   1E+375                  -> #43fc000000100000 Clamped
325decd620 apply   #43fc000000100000       -> 1.000000E+375
326decd621 apply   1E+374                  -> #43fc000000020000 Clamped
327decd622 apply   #43fc000000020000       -> 1.00000E+374
328decd623 apply   1E+373                  -> #43fc000000004000 Clamped
329decd624 apply   #43fc000000004000       -> 1.0000E+373
330decd625 apply   1E+372                  -> #43fc000000000400 Clamped
331decd626 apply   #43fc000000000400       -> 1.000E+372
332decd627 apply   1E+371                  -> #43fc000000000080 Clamped
333decd628 apply   #43fc000000000080       -> 1.00E+371
334decd629 apply   1E+370                  -> #43fc000000000010 Clamped
335decd630 apply   #43fc000000000010       -> 1.0E+370
336decd631 apply   1E+369                  -> #43fc000000000001
337decd632 apply   #43fc000000000001       -> 1E+369
338decd633 apply   1E+368                  -> #43f8000000000001
339decd634 apply   #43f8000000000001       -> 1E+368
340-- same with 9s
341decd641 apply   9E+384                  -> #77fc000000000000 Clamped
342decd642 apply   #77fc000000000000       -> 9.000000000000000E+384
343decd643 apply   9E+383                  -> #43fc8c0000000000 Clamped
344decd644 apply   #43fc8c0000000000       -> 9.00000000000000E+383
345decd645 apply   9E+382                  -> #43fc1a0000000000 Clamped
346decd646 apply   #43fc1a0000000000       -> 9.0000000000000E+382
347decd647 apply   9E+381                  -> #43fc090000000000 Clamped
348decd648 apply   #43fc090000000000       -> 9.000000000000E+381
349decd649 apply   9E+380                  -> #43fc002300000000 Clamped
350decd650 apply   #43fc002300000000       -> 9.00000000000E+380
351decd651 apply   9E+379                  -> #43fc000680000000 Clamped
352decd652 apply   #43fc000680000000       -> 9.0000000000E+379
353decd653 apply   9E+378                  -> #43fc000240000000 Clamped
354decd654 apply   #43fc000240000000       -> 9.000000000E+378
355decd655 apply   9E+377                  -> #43fc000008c00000 Clamped
356decd656 apply   #43fc000008c00000       -> 9.00000000E+377
357decd657 apply   9E+376                  -> #43fc000001a00000 Clamped
358decd658 apply   #43fc000001a00000       -> 9.0000000E+376
359decd659 apply   9E+375                  -> #43fc000000900000 Clamped
360decd660 apply   #43fc000000900000       -> 9.000000E+375
361decd661 apply   9E+374                  -> #43fc000000023000 Clamped
362decd662 apply   #43fc000000023000       -> 9.00000E+374
363decd663 apply   9E+373                  -> #43fc000000006800 Clamped
364decd664 apply   #43fc000000006800       -> 9.0000E+373
365decd665 apply   9E+372                  -> #43fc000000002400 Clamped
366decd666 apply   #43fc000000002400       -> 9.000E+372
367decd667 apply   9E+371                  -> #43fc00000000008c Clamped
368decd668 apply   #43fc00000000008c       -> 9.00E+371
369decd669 apply   9E+370                  -> #43fc00000000001a Clamped
370decd670 apply   #43fc00000000001a       -> 9.0E+370
371decd671 apply   9E+369                  -> #43fc000000000009
372decd672 apply   #43fc000000000009       -> 9E+369
373decd673 apply   9E+368                  -> #43f8000000000009
374decd674 apply   #43f8000000000009       -> 9E+368
375
376
377-- Selected DPD codes
378decd700 apply   #2238000000000000       -> 0
379decd701 apply   #2238000000000009       -> 9
380decd702 apply   #2238000000000010       -> 10
381decd703 apply   #2238000000000019       -> 19
382decd704 apply   #2238000000000020       -> 20
383decd705 apply   #2238000000000029       -> 29
384decd706 apply   #2238000000000030       -> 30
385decd707 apply   #2238000000000039       -> 39
386decd708 apply   #2238000000000040       -> 40
387decd709 apply   #2238000000000049       -> 49
388decd710 apply   #2238000000000050       -> 50
389decd711 apply   #2238000000000059       -> 59
390decd712 apply   #2238000000000060       -> 60
391decd713 apply   #2238000000000069       -> 69
392decd714 apply   #2238000000000070       -> 70
393decd715 apply   #2238000000000071       -> 71
394decd716 apply   #2238000000000072       -> 72
395decd717 apply   #2238000000000073       -> 73
396decd718 apply   #2238000000000074       -> 74
397decd719 apply   #2238000000000075       -> 75
398decd720 apply   #2238000000000076       -> 76
399decd721 apply   #2238000000000077       -> 77
400decd722 apply   #2238000000000078       -> 78
401decd723 apply   #2238000000000079       -> 79
402
403decd725 apply   #223800000000029e       -> 994
404decd726 apply   #223800000000029f       -> 995
405decd727 apply   #22380000000002a0       -> 520
406decd728 apply   #22380000000002a1       -> 521
407-- from telco test data
408decd730 apply   #2238000000000188       -> 308
409decd731 apply   #22380000000001a3       -> 323
410decd732 apply   #223800000000002a       ->  82
411decd733 apply   #22380000000001a9       -> 329
412decd734 apply   #2238000000000081       -> 101
413decd735 apply   #22380000000002a2       -> 522
414
415-- DPD: one of each of the huffman groups
416decd740 apply   #22380000000003f7       -> 777
417decd741 apply   #22380000000003f8       -> 778
418decd742 apply   #22380000000003eb       -> 787
419decd743 apply   #223800000000037d       -> 877
420decd744 apply   #223800000000039f       -> 997
421decd745 apply   #22380000000003bf       -> 979
422decd746 apply   #22380000000003df       -> 799
423decd747 apply   #223800000000006e       -> 888
424
425-- DPD all-highs cases (includes the 24 redundant codes)
426decd750 apply   #223800000000006e       -> 888
427decd751 apply   #223800000000016e       -> 888
428decd752 apply   #223800000000026e       -> 888
429decd753 apply   #223800000000036e       -> 888
430decd754 apply   #223800000000006f       -> 889
431decd755 apply   #223800000000016f       -> 889
432decd756 apply   #223800000000026f       -> 889
433decd757 apply   #223800000000036f       -> 889
434
435decd760 apply   #223800000000007e       -> 898
436decd761 apply   #223800000000017e       -> 898
437decd762 apply   #223800000000027e       -> 898
438decd763 apply   #223800000000037e       -> 898
439decd764 apply   #223800000000007f       -> 899
440decd765 apply   #223800000000017f       -> 899
441decd766 apply   #223800000000027f       -> 899
442decd767 apply   #223800000000037f       -> 899
443
444decd770 apply   #22380000000000ee       -> 988
445decd771 apply   #22380000000001ee       -> 988
446decd772 apply   #22380000000002ee       -> 988
447decd773 apply   #22380000000003ee       -> 988
448decd774 apply   #22380000000000ef       -> 989
449decd775 apply   #22380000000001ef       -> 989
450decd776 apply   #22380000000002ef       -> 989
451decd777 apply   #22380000000003ef       -> 989
452
453decd780 apply   #22380000000000fe       -> 998
454decd781 apply   #22380000000001fe       -> 998
455decd782 apply   #22380000000002fe       -> 998
456decd783 apply   #22380000000003fe       -> 998
457decd784 apply   #22380000000000ff       -> 999
458decd785 apply   #22380000000001ff       -> 999
459decd786 apply   #22380000000002ff       -> 999
460decd787 apply   #22380000000003ff       -> 999
461
462-- values around [u]int32 edges (zeros done earlier)
463decd800 apply -2147483646  -> #a23800008c78af46
464decd801 apply -2147483647  -> #a23800008c78af47
465decd802 apply -2147483648  -> #a23800008c78af48
466decd803 apply -2147483649  -> #a23800008c78af49
467decd804 apply  2147483646  -> #223800008c78af46
468decd805 apply  2147483647  -> #223800008c78af47
469decd806 apply  2147483648  -> #223800008c78af48
470decd807 apply  2147483649  -> #223800008c78af49
471decd808 apply  4294967294  -> #2238000115afb55a
472decd809 apply  4294967295  -> #2238000115afb55b
473decd810 apply  4294967296  -> #2238000115afb57a
474decd811 apply  4294967297  -> #2238000115afb57b
475
476decd820 apply  #a23800008c78af46 -> -2147483646
477decd821 apply  #a23800008c78af47 -> -2147483647
478decd822 apply  #a23800008c78af48 -> -2147483648
479decd823 apply  #a23800008c78af49 -> -2147483649
480decd824 apply  #223800008c78af46 ->  2147483646
481decd825 apply  #223800008c78af47 ->  2147483647
482decd826 apply  #223800008c78af48 ->  2147483648
483decd827 apply  #223800008c78af49 ->  2147483649
484decd828 apply  #2238000115afb55a ->  4294967294
485decd829 apply  #2238000115afb55b ->  4294967295
486decd830 apply  #2238000115afb57a ->  4294967296
487decd831 apply  #2238000115afb57b ->  4294967297
488
489-- for narrowing
490decd840 apply  #2870000000000000 ->  2.000000000000000E-99
491
492-- some miscellaneous
493decd850 apply  #0004070000000000 -> 7.000000000000E-385  Subnormal
494decd851 apply  #0008000000020000 -> 1.00000E-391         Subnormal
495
496