Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / devtools / v9 / lib / python2.4 / test / decimaltestdata / decimal128.decTest
CommitLineData
920dae64
AT
1------------------------------------------------------------------------
2-- decimal128.decTest -- decimal sixteen-byte format testcases --
3-- Copyright (c) IBM Corporation, 2000, 2003. 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.39
21
22-- This set of tests is for the sixteen-byte concrete representation.
23-- Its characteristics are:
24--
25-- 1 bit sign
26-- 5 bits combination field
27-- 12 bits exponent continuation
28-- 110 bits coefficient continuation
29--
30-- Total exponent length 14 bits
31-- Total coefficient length 114 bits (34 digits)
32--
33-- Elimit = 12287 (maximum encoded exponent)
34-- Emax = 6144 (largest exponent value)
35-- Emin = -6143 (smallest exponent value)
36-- bias = 6176 (subtracted from encoded exponent) = -Etiny
37
38extended: 1
39precision: 34
40rounding: half_up
41maxExponent: 6144
42minExponent: -6143
43
44-- General testcases
45-- (mostly derived from the Strawman 4 document and examples)
46decg001 apply #A20780000000000000000000000003D0 -> -7.50
47decg002 apply -7.50 -> #A20780000000000000000000000003D0
48
49-- Normality
50decf010 apply 1234567890123456789012345678901234 -> #2608134b9c1e28e56f3c127177823534
51decf011 apply 1234567890123456789012345678901234.0 -> #2608134b9c1e28e56f3c127177823534 Rounded
52decf012 apply 1234567890123456789012345678901234.1 -> #2608134b9c1e28e56f3c127177823534 Rounded Inexact
53decf013 apply -1234567890123456789012345678901234 -> #a608134b9c1e28e56f3c127177823534
54decf014 apply -1234567890123456789012345678901234.0 -> #a608134b9c1e28e56f3c127177823534 Rounded
55decf015 apply -1234567890123456789012345678901234.1 -> #a608134b9c1e28e56f3c127177823534 Rounded Inexact
56
57
58-- Nmax and similar
59decf022 apply 9.999999999999999999999999999999999E+6144 -> #77ffcff3fcff3fcff3fcff3fcff3fcff
60decf023 apply #77ffcff3fcff3fcff3fcff3fcff3fcff -> 9.999999999999999999999999999999999E+6144
61decf024 apply 1.234567890123456789012345678901234E+6144 -> #47ffd34b9c1e28e56f3c127177823534
62decf025 apply #47ffd34b9c1e28e56f3c127177823534 -> 1.234567890123456789012345678901234E+6144
63-- fold-downs (more below)
64decf030 apply 1.23E+6144 -> #47ffd300000000000000000000000000 Clamped
65decf031 apply #47ffd300000000000000000000000000 -> 1.230000000000000000000000000000000E+6144
66decf032 apply 1E+6144 -> #47ffc000000000000000000000000000 Clamped
67decf033 apply #47ffc000000000000000000000000000 -> 1.000000000000000000000000000000000E+6144
68
69-- overflows
70maxExponent: 9999 -- set high so conversion causes the overflow
71minExponent: -9999
72decf040 apply 10E+6144 -> #78000000000000000000000000000000 Overflow Rounded Inexact
73decf041 apply 1.000000000000000E+6145 -> #78000000000000000000000000000000 Overflow Rounded Inexact
74maxExponent: 6144
75minExponent: -6143
76
77decf051 apply 12345 -> #220800000000000000000000000049c5
78decf052 apply #220800000000000000000000000049c5 -> 12345
79decf053 apply 1234 -> #22080000000000000000000000000534
80decf054 apply #22080000000000000000000000000534 -> 1234
81decf055 apply 123 -> #220800000000000000000000000000a3
82decf056 apply #220800000000000000000000000000a3 -> 123
83decf057 apply 12 -> #22080000000000000000000000000012
84decf058 apply #22080000000000000000000000000012 -> 12
85decf059 apply 1 -> #22080000000000000000000000000001
86decf060 apply #22080000000000000000000000000001 -> 1
87decf061 apply 1.23 -> #220780000000000000000000000000a3
88decf062 apply #220780000000000000000000000000a3 -> 1.23
89decf063 apply 123.45 -> #220780000000000000000000000049c5
90decf064 apply #220780000000000000000000000049c5 -> 123.45
91
92-- Nmin and below
93decf071 apply 1E-6143 -> #00084000000000000000000000000001
94decf072 apply #00084000000000000000000000000001 -> 1E-6143
95decf073 apply 1.000000000000000000000000000000000E-6143 -> #04000000000000000000000000000000
96decf074 apply #04000000000000000000000000000000 -> 1.000000000000000000000000000000000E-6143
97decf075 apply 1.000000000000000000000000000000001E-6143 -> #04000000000000000000000000000001
98decf076 apply #04000000000000000000000000000001 -> 1.000000000000000000000000000000001E-6143
99
100decf077 apply 0.100000000000000000000000000000000E-6143 -> #00000800000000000000000000000000 Subnormal
101decf078 apply #00000800000000000000000000000000 -> 1.00000000000000000000000000000000E-6144 Subnormal
102decf079 apply 0.000000000000000000000000000000010E-6143 -> #00000000000000000000000000000010 Subnormal
103decf080 apply #00000000000000000000000000000010 -> 1.0E-6175 Subnormal
104decf081 apply 0.00000000000000000000000000000001E-6143 -> #00004000000000000000000000000001 Subnormal
105decf082 apply #00004000000000000000000000000001 -> 1E-6175 Subnormal
106decf083 apply 0.000000000000000000000000000000001E-6143 -> #00000000000000000000000000000001 Subnormal
107decf084 apply #00000000000000000000000000000001 -> 1E-6176 Subnormal
108
109-- underflows
110decf090 apply 1e-6176 -> #00000000000000000000000000000001 Subnormal
111decf091 apply 1.9e-6176 -> #00000000000000000000000000000002 Subnormal Underflow Inexact Rounded
112decf092 apply 1.1e-6176 -> #00000000000000000000000000000001 Subnormal Underflow Inexact Rounded
113decf093 apply 1.00000000001e-6176 -> #00000000000000000000000000000001 Subnormal Underflow Inexact Rounded
114decf094 apply 1.00000000000001e-6176 -> #00000000000000000000000000000001 Subnormal Underflow Inexact Rounded
115decf095 apply 1.000000000000001e-6176 -> #00000000000000000000000000000001 Subnormal Underflow Inexact Rounded
116decf096 apply 0.1e-6176 -> #00000000000000000000000000000000 Subnormal Underflow Inexact Rounded
117decf097 apply 0.00000000001e-6176 -> #00000000000000000000000000000000 Subnormal Underflow Inexact Rounded
118decf098 apply 0.00000000000001e-6176 -> #00000000000000000000000000000000 Subnormal Underflow Inexact Rounded
119decf099 apply 0.000000000000001e-6176 -> #00000000000000000000000000000000 Subnormal Underflow Inexact Rounded
120decf100 apply 999999999999999999999999999999999e-6176 -> #00000ff3fcff3fcff3fcff3fcff3fcff Subnormal
121
122-- same again, negatives
123-- Nmax and similar
124decf122 apply -9.999999999999999999999999999999999E+6144 -> #f7ffcff3fcff3fcff3fcff3fcff3fcff
125decf123 apply #f7ffcff3fcff3fcff3fcff3fcff3fcff -> -9.999999999999999999999999999999999E+6144
126decf124 apply -1.234567890123456789012345678901234E+6144 -> #c7ffd34b9c1e28e56f3c127177823534
127decf125 apply #c7ffd34b9c1e28e56f3c127177823534 -> -1.234567890123456789012345678901234E+6144
128-- fold-downs (more below)
129decf130 apply -1.23E+6144 -> #c7ffd300000000000000000000000000 Clamped
130decf131 apply #c7ffd300000000000000000000000000 -> -1.230000000000000000000000000000000E+6144
131decf132 apply -1E+6144 -> #c7ffc000000000000000000000000000 Clamped
132decf133 apply #c7ffc000000000000000000000000000 -> -1.000000000000000000000000000000000E+6144
133
134-- overflows
135maxExponent: 9999 -- set high so conversion causes the overflow
136minExponent: -9999
137decf140 apply -10E+6144 -> #f8000000000000000000000000000000 Overflow Rounded Inexact
138decf141 apply -1.000000000000000E+6145 -> #f8000000000000000000000000000000 Overflow Rounded Inexact
139maxExponent: 6144
140minExponent: -6143
141
142decf151 apply -12345 -> #a20800000000000000000000000049c5
143decf152 apply #a20800000000000000000000000049c5 -> -12345
144decf153 apply -1234 -> #a2080000000000000000000000000534
145decf154 apply #a2080000000000000000000000000534 -> -1234
146decf155 apply -123 -> #a20800000000000000000000000000a3
147decf156 apply #a20800000000000000000000000000a3 -> -123
148decf157 apply -12 -> #a2080000000000000000000000000012
149decf158 apply #a2080000000000000000000000000012 -> -12
150decf159 apply -1 -> #a2080000000000000000000000000001
151decf160 apply #a2080000000000000000000000000001 -> -1
152decf161 apply -1.23 -> #a20780000000000000000000000000a3
153decf162 apply #a20780000000000000000000000000a3 -> -1.23
154decf163 apply -123.45 -> #a20780000000000000000000000049c5
155decf164 apply #a20780000000000000000000000049c5 -> -123.45
156
157-- Nmin and below
158decf171 apply -1E-6143 -> #80084000000000000000000000000001
159decf172 apply #80084000000000000000000000000001 -> -1E-6143
160decf173 apply -1.000000000000000000000000000000000E-6143 -> #84000000000000000000000000000000
161decf174 apply #84000000000000000000000000000000 -> -1.000000000000000000000000000000000E-6143
162decf175 apply -1.000000000000000000000000000000001E-6143 -> #84000000000000000000000000000001
163decf176 apply #84000000000000000000000000000001 -> -1.000000000000000000000000000000001E-6143
164
165decf177 apply -0.100000000000000000000000000000000E-6143 -> #80000800000000000000000000000000 Subnormal
166decf178 apply #80000800000000000000000000000000 -> -1.00000000000000000000000000000000E-6144 Subnormal
167decf179 apply -0.000000000000000000000000000000010E-6143 -> #80000000000000000000000000000010 Subnormal
168decf180 apply #80000000000000000000000000000010 -> -1.0E-6175 Subnormal
169decf181 apply -0.00000000000000000000000000000001E-6143 -> #80004000000000000000000000000001 Subnormal
170decf182 apply #80004000000000000000000000000001 -> -1E-6175 Subnormal
171decf183 apply -0.000000000000000000000000000000001E-6143 -> #80000000000000000000000000000001 Subnormal
172decf184 apply #80000000000000000000000000000001 -> -1E-6176 Subnormal
173
174-- underflows
175decf190 apply -1e-6176 -> #80000000000000000000000000000001 Subnormal
176decf191 apply -1.9e-6176 -> #80000000000000000000000000000002 Subnormal Underflow Inexact Rounded
177decf192 apply -1.1e-6176 -> #80000000000000000000000000000001 Subnormal Underflow Inexact Rounded
178decf193 apply -1.00000000001e-6176 -> #80000000000000000000000000000001 Subnormal Underflow Inexact Rounded
179decf194 apply -1.00000000000001e-6176 -> #80000000000000000000000000000001 Subnormal Underflow Inexact Rounded
180decf195 apply -1.000000000000001e-6176 -> #80000000000000000000000000000001 Subnormal Underflow Inexact Rounded
181decf196 apply -0.1e-6176 -> #80000000000000000000000000000000 Subnormal Underflow Inexact Rounded
182decf197 apply -0.00000000001e-6176 -> #80000000000000000000000000000000 Subnormal Underflow Inexact Rounded
183decf198 apply -0.00000000000001e-6176 -> #80000000000000000000000000000000 Subnormal Underflow Inexact Rounded
184decf199 apply -0.000000000000001e-6176 -> #80000000000000000000000000000000 Subnormal Underflow Inexact Rounded
185decf200 apply -999999999999999999999999999999999e-6176 -> #80000ff3fcff3fcff3fcff3fcff3fcff Subnormal
186
187-- zeros
188decf400 apply 0E-8000 -> #00000000000000000000000000000000 Clamped
189decf401 apply 0E-6177 -> #00000000000000000000000000000000 Clamped
190decf402 apply 0E-6176 -> #00000000000000000000000000000000
191decf403 apply #00000000000000000000000000000000 -> 0E-6176
192decf404 apply 0.000000000000000000000000000000000E-6143 -> #00000000000000000000000000000000
193decf405 apply #00000000000000000000000000000000 -> 0E-6176
194decf406 apply 0E-2 -> #22078000000000000000000000000000
195decf407 apply #22078000000000000000000000000000 -> 0.00
196decf408 apply 0 -> #22080000000000000000000000000000
197decf409 apply #22080000000000000000000000000000 -> 0
198decf410 apply 0E+3 -> #2208c000000000000000000000000000
199decf411 apply #2208c000000000000000000000000000 -> 0E+3
200decf412 apply 0E+6111 -> #43ffc000000000000000000000000000
201decf413 apply #43ffc000000000000000000000000000 -> 0E+6111
202-- clamped zeros...
203decf414 apply 0E+6112 -> #43ffc000000000000000000000000000 Clamped
204decf415 apply #43ffc000000000000000000000000000 -> 0E+6111
205decf416 apply 0E+6144 -> #43ffc000000000000000000000000000 Clamped
206decf417 apply #43ffc000000000000000000000000000 -> 0E+6111
207decf418 apply 0E+8000 -> #43ffc000000000000000000000000000 Clamped
208decf419 apply #43ffc000000000000000000000000000 -> 0E+6111
209
210-- negative zeros
211decf420 apply -0E-8000 -> #80000000000000000000000000000000 Clamped
212decf421 apply -0E-6177 -> #80000000000000000000000000000000 Clamped
213decf422 apply -0E-6176 -> #80000000000000000000000000000000
214decf423 apply #80000000000000000000000000000000 -> -0E-6176
215decf424 apply -0.000000000000000000000000000000000E-6143 -> #80000000000000000000000000000000
216decf425 apply #80000000000000000000000000000000 -> -0E-6176
217decf426 apply -0E-2 -> #a2078000000000000000000000000000
218decf427 apply #a2078000000000000000000000000000 -> -0.00
219decf428 apply -0 -> #a2080000000000000000000000000000
220decf429 apply #a2080000000000000000000000000000 -> -0
221decf430 apply -0E+3 -> #a208c000000000000000000000000000
222decf431 apply #a208c000000000000000000000000000 -> -0E+3
223decf432 apply -0E+6111 -> #c3ffc000000000000000000000000000
224decf433 apply #c3ffc000000000000000000000000000 -> -0E+6111
225-- clamped zeros...
226decf434 apply -0E+6112 -> #c3ffc000000000000000000000000000 Clamped
227decf435 apply #c3ffc000000000000000000000000000 -> -0E+6111
228decf436 apply -0E+6144 -> #c3ffc000000000000000000000000000 Clamped
229decf437 apply #c3ffc000000000000000000000000000 -> -0E+6111
230decf438 apply -0E+8000 -> #c3ffc000000000000000000000000000 Clamped
231decf439 apply #c3ffc000000000000000000000000000 -> -0E+6111
232
233-- Specials
234decf500 apply Infinity -> #78000000000000000000000000000000
235decf501 apply #78787878787878787878787878787878 -> #78000000000000000000000000000000
236decf502 apply #78000000000000000000000000000000 -> Infinity
237decf503 apply #79797979797979797979797979797979 -> #78000000000000000000000000000000
238decf504 apply #79000000000000000000000000000000 -> Infinity
239decf505 apply #7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a -> #78000000000000000000000000000000
240decf506 apply #7a000000000000000000000000000000 -> Infinity
241decf507 apply #7b7b7b7b7b7b7b7b7b7b7b7b7b7b7b7b -> #78000000000000000000000000000000
242decf508 apply #7b000000000000000000000000000000 -> Infinity
243
244decf509 apply NaN -> #7c000000000000000000000000000000
245decf510 apply #7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c -> #7c003c7c7c7c7c7c7c7c7c7c7c7c7c7c
246decf511 apply #7c000000000000000000000000000000 -> NaN
247decf512 apply #7d7d7d7d7d7d7d7d7d7d7d7d7d7d7d7d -> #7c003d7d7d7d7d7d7d7d7d7d7d7d7d7d
248decf513 apply #7d000000000000000000000000000000 -> NaN
249decf514 apply #7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e -> #7e003e7e7c7e7e7e7e7c7e7e7e7e7c7e
250decf515 apply #7e000000000000000000000000000000 -> sNaN
251decf516 apply #7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f -> #7e003f7f7c7f7f7f7f7c7f7f7f7f7c7f
252decf517 apply #7f000000000000000000000000000000 -> sNaN
253decf518 apply #7fffffffffffffffffffffffffffffff -> sNaN999999999999999999999999999999999
254decf519 apply #7fffffffffffffffffffffffffffffff -> #7e000ff3fcff3fcff3fcff3fcff3fcff
255
256decf520 apply -Infinity -> #f8000000000000000000000000000000
257decf521 apply #f8787878787878787878787878787878 -> #f8000000000000000000000000000000
258decf522 apply #f8000000000000000000000000000000 -> -Infinity
259decf523 apply #f9797979797979797979797979797979 -> #f8000000000000000000000000000000
260decf524 apply #f9000000000000000000000000000000 -> -Infinity
261decf525 apply #fa7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a -> #f8000000000000000000000000000000
262decf526 apply #fa000000000000000000000000000000 -> -Infinity
263decf527 apply #fb7b7b7b7b7b7b7b7b7b7b7b7b7b7b7b -> #f8000000000000000000000000000000
264decf528 apply #fb000000000000000000000000000000 -> -Infinity
265
266decf529 apply -NaN -> #fc000000000000000000000000000000
267decf530 apply #fc7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c -> #fc003c7c7c7c7c7c7c7c7c7c7c7c7c7c
268decf531 apply #fc000000000000000000000000000000 -> -NaN
269decf532 apply #fd7d7d7d7d7d7d7d7d7d7d7d7d7d7d7d -> #fc003d7d7d7d7d7d7d7d7d7d7d7d7d7d
270decf533 apply #fd000000000000000000000000000000 -> -NaN
271decf534 apply #fe7e7e7e7e7e7e7e7e7e7e7e7e7e7e7e -> #fe003e7e7c7e7e7e7e7c7e7e7e7e7c7e
272decf535 apply #fe000000000000000000000000000000 -> -sNaN
273decf536 apply #ff7f7f7f7f7f7f7f7f7f7f7f7f7f7f7f -> #fe003f7f7c7f7f7f7f7c7f7f7f7f7c7f
274decf537 apply #ff000000000000000000000000000000 -> -sNaN
275decf538 apply #ffffffffffffffffffffffffffffffff -> -sNaN999999999999999999999999999999999
276decf539 apply #ffffffffffffffffffffffffffffffff -> #fe000ff3fcff3fcff3fcff3fcff3fcff
277
278decf540 apply NaN -> #7c000000000000000000000000000000
279decf541 apply NaN0 -> #7c000000000000000000000000000000
280decf542 apply NaN1 -> #7c000000000000000000000000000001
281decf543 apply NaN12 -> #7c000000000000000000000000000012
282decf544 apply NaN79 -> #7c000000000000000000000000000079
283decf545 apply NaN12345 -> #7c0000000000000000000000000049c5
284decf546 apply NaN123456 -> #7c000000000000000000000000028e56
285decf547 apply NaN799799 -> #7c0000000000000000000000000f7fdf
286decf548 apply NaN799799799799799799799799799799799 -> #7c003dff7fdff7fdff7fdff7fdff7fdf
287decf549 apply NaN999999999999999999999999999999999 -> #7c000ff3fcff3fcff3fcff3fcff3fcff
288decf550 apply NaN1234567890123456789012345678901234 -> #7c000000000000000000000000000000 -- too many digits
289
290-- fold-down full sequence
291decf600 apply 1E+6145 -> #78000000000000000000000000000000 Overflow Inexact Rounded
292decf601 apply 1E+6144 -> #47ffc000000000000000000000000000 Clamped
293decf602 apply #47ffc000000000000000000000000000 -> 1.000000000000000000000000000000000E+6144
294decf603 apply 1E+6143 -> #43ffc800000000000000000000000000 Clamped
295decf604 apply #43ffc800000000000000000000000000 -> 1.00000000000000000000000000000000E+6143
296decf605 apply 1E+6142 -> #43ffc100000000000000000000000000 Clamped
297decf606 apply #43ffc100000000000000000000000000 -> 1.0000000000000000000000000000000E+6142
298decf607 apply 1E+6141 -> #43ffc010000000000000000000000000 Clamped
299decf608 apply #43ffc010000000000000000000000000 -> 1.000000000000000000000000000000E+6141
300decf609 apply 1E+6140 -> #43ffc002000000000000000000000000 Clamped
301decf610 apply #43ffc002000000000000000000000000 -> 1.00000000000000000000000000000E+6140
302decf611 apply 1E+6139 -> #43ffc000400000000000000000000000 Clamped
303decf612 apply #43ffc000400000000000000000000000 -> 1.0000000000000000000000000000E+6139
304decf613 apply 1E+6138 -> #43ffc000040000000000000000000000 Clamped
305decf614 apply #43ffc000040000000000000000000000 -> 1.000000000000000000000000000E+6138
306decf615 apply 1E+6137 -> #43ffc000008000000000000000000000 Clamped
307decf616 apply #43ffc000008000000000000000000000 -> 1.00000000000000000000000000E+6137
308decf617 apply 1E+6136 -> #43ffc000001000000000000000000000 Clamped
309decf618 apply #43ffc000001000000000000000000000 -> 1.0000000000000000000000000E+6136
310decf619 apply 1E+6135 -> #43ffc000000100000000000000000000 Clamped
311decf620 apply #43ffc000000100000000000000000000 -> 1.000000000000000000000000E+6135
312decf621 apply 1E+6134 -> #43ffc000000020000000000000000000 Clamped
313decf622 apply #43ffc000000020000000000000000000 -> 1.00000000000000000000000E+6134
314decf623 apply 1E+6133 -> #43ffc000000004000000000000000000 Clamped
315decf624 apply #43ffc000000004000000000000000000 -> 1.0000000000000000000000E+6133
316decf625 apply 1E+6132 -> #43ffc000000000400000000000000000 Clamped
317decf626 apply #43ffc000000000400000000000000000 -> 1.000000000000000000000E+6132
318decf627 apply 1E+6131 -> #43ffc000000000080000000000000000 Clamped
319decf628 apply #43ffc000000000080000000000000000 -> 1.00000000000000000000E+6131
320decf629 apply 1E+6130 -> #43ffc000000000010000000000000000 Clamped
321decf630 apply #43ffc000000000010000000000000000 -> 1.0000000000000000000E+6130
322decf631 apply 1E+6129 -> #43ffc000000000001000000000000000 Clamped
323decf632 apply #43ffc000000000001000000000000000 -> 1.000000000000000000E+6129
324decf633 apply 1E+6128 -> #43ffc000000000000200000000000000 Clamped
325decf634 apply #43ffc000000000000200000000000000 -> 1.00000000000000000E+6128
326decf635 apply 1E+6127 -> #43ffc000000000000040000000000000 Clamped
327decf636 apply #43ffc000000000000040000000000000 -> 1.0000000000000000E+6127
328decf637 apply 1E+6126 -> #43ffc000000000000004000000000000 Clamped
329decf638 apply #43ffc000000000000004000000000000 -> 1.000000000000000E+6126
330decf639 apply 1E+6125 -> #43ffc000000000000000800000000000 Clamped
331decf640 apply #43ffc000000000000000800000000000 -> 1.00000000000000E+6125
332decf641 apply 1E+6124 -> #43ffc000000000000000100000000000 Clamped
333decf642 apply #43ffc000000000000000100000000000 -> 1.0000000000000E+6124
334decf643 apply 1E+6123 -> #43ffc000000000000000010000000000 Clamped
335decf644 apply #43ffc000000000000000010000000000 -> 1.000000000000E+6123
336decf645 apply 1E+6122 -> #43ffc000000000000000002000000000 Clamped
337decf646 apply #43ffc000000000000000002000000000 -> 1.00000000000E+6122
338decf647 apply 1E+6121 -> #43ffc000000000000000000400000000 Clamped
339decf648 apply #43ffc000000000000000000400000000 -> 1.0000000000E+6121
340decf649 apply 1E+6120 -> #43ffc000000000000000000040000000 Clamped
341decf650 apply #43ffc000000000000000000040000000 -> 1.000000000E+6120
342decf651 apply 1E+6119 -> #43ffc000000000000000000008000000 Clamped
343decf652 apply #43ffc000000000000000000008000000 -> 1.00000000E+6119
344decf653 apply 1E+6118 -> #43ffc000000000000000000001000000 Clamped
345decf654 apply #43ffc000000000000000000001000000 -> 1.0000000E+6118
346decf655 apply 1E+6117 -> #43ffc000000000000000000000100000 Clamped
347decf656 apply #43ffc000000000000000000000100000 -> 1.000000E+6117
348decf657 apply 1E+6116 -> #43ffc000000000000000000000020000 Clamped
349decf658 apply #43ffc000000000000000000000020000 -> 1.00000E+6116
350decf659 apply 1E+6115 -> #43ffc000000000000000000000004000 Clamped
351decf660 apply #43ffc000000000000000000000004000 -> 1.0000E+6115
352decf661 apply 1E+6114 -> #43ffc000000000000000000000000400 Clamped
353decf662 apply #43ffc000000000000000000000000400 -> 1.000E+6114
354decf663 apply 1E+6113 -> #43ffc000000000000000000000000080 Clamped
355decf664 apply #43ffc000000000000000000000000080 -> 1.00E+6113
356decf665 apply 1E+6112 -> #43ffc000000000000000000000000010 Clamped
357decf666 apply #43ffc000000000000000000000000010 -> 1.0E+6112
358decf667 apply 1E+6111 -> #43ffc000000000000000000000000001
359decf668 apply #43ffc000000000000000000000000001 -> 1E+6111
360decf669 apply 1E+6110 -> #43ff8000000000000000000000000001
361decf670 apply #43ff8000000000000000000000000001 -> 1E+6110
362
363-- Selected DPD codes
364decf700 apply #22080000000000000000000000000000 -> 0
365decf701 apply #22080000000000000000000000000009 -> 9
366decf702 apply #22080000000000000000000000000010 -> 10
367decf703 apply #22080000000000000000000000000019 -> 19
368decf704 apply #22080000000000000000000000000020 -> 20
369decf705 apply #22080000000000000000000000000029 -> 29
370decf706 apply #22080000000000000000000000000030 -> 30
371decf707 apply #22080000000000000000000000000039 -> 39
372decf708 apply #22080000000000000000000000000040 -> 40
373decf709 apply #22080000000000000000000000000049 -> 49
374decf710 apply #22080000000000000000000000000050 -> 50
375decf711 apply #22080000000000000000000000000059 -> 59
376decf712 apply #22080000000000000000000000000060 -> 60
377decf713 apply #22080000000000000000000000000069 -> 69
378decf714 apply #22080000000000000000000000000070 -> 70
379decf715 apply #22080000000000000000000000000071 -> 71
380decf716 apply #22080000000000000000000000000072 -> 72
381decf717 apply #22080000000000000000000000000073 -> 73
382decf718 apply #22080000000000000000000000000074 -> 74
383decf719 apply #22080000000000000000000000000075 -> 75
384decf720 apply #22080000000000000000000000000076 -> 76
385decf721 apply #22080000000000000000000000000077 -> 77
386decf722 apply #22080000000000000000000000000078 -> 78
387decf723 apply #22080000000000000000000000000079 -> 79
388
389decf730 apply #2208000000000000000000000000029e -> 994
390decf731 apply #2208000000000000000000000000029f -> 995
391decf732 apply #220800000000000000000000000002a0 -> 520
392decf733 apply #220800000000000000000000000002a1 -> 521
393
394-- DPD: one of each of the huffman groups
395decf740 apply #220800000000000000000000000003f7 -> 777
396decf741 apply #220800000000000000000000000003f8 -> 778
397decf742 apply #220800000000000000000000000003eb -> 787
398decf743 apply #2208000000000000000000000000037d -> 877
399decf744 apply #2208000000000000000000000000039f -> 997
400decf745 apply #220800000000000000000000000003bf -> 979
401decf746 apply #220800000000000000000000000003df -> 799
402decf747 apply #2208000000000000000000000000006e -> 888
403
404
405-- DPD all-highs cases (includes the 24 redundant codes)
406decf750 apply #2208000000000000000000000000006e -> 888
407decf751 apply #2208000000000000000000000000016e -> 888
408decf752 apply #2208000000000000000000000000026e -> 888
409decf753 apply #2208000000000000000000000000036e -> 888
410decf754 apply #2208000000000000000000000000006f -> 889
411decf755 apply #2208000000000000000000000000016f -> 889
412decf756 apply #2208000000000000000000000000026f -> 889
413decf757 apply #2208000000000000000000000000036f -> 889
414
415decf760 apply #2208000000000000000000000000007e -> 898
416decf761 apply #2208000000000000000000000000017e -> 898
417decf762 apply #2208000000000000000000000000027e -> 898
418decf763 apply #2208000000000000000000000000037e -> 898
419decf764 apply #2208000000000000000000000000007f -> 899
420decf765 apply #2208000000000000000000000000017f -> 899
421decf766 apply #2208000000000000000000000000027f -> 899
422decf767 apply #2208000000000000000000000000037f -> 899
423
424decf770 apply #220800000000000000000000000000ee -> 988
425decf771 apply #220800000000000000000000000001ee -> 988
426decf772 apply #220800000000000000000000000002ee -> 988
427decf773 apply #220800000000000000000000000003ee -> 988
428decf774 apply #220800000000000000000000000000ef -> 989
429decf775 apply #220800000000000000000000000001ef -> 989
430decf776 apply #220800000000000000000000000002ef -> 989
431decf777 apply #220800000000000000000000000003ef -> 989
432
433decf780 apply #220800000000000000000000000000fe -> 998
434decf781 apply #220800000000000000000000000001fe -> 998
435decf782 apply #220800000000000000000000000002fe -> 998
436decf783 apply #220800000000000000000000000003fe -> 998
437decf784 apply #220800000000000000000000000000ff -> 999
438decf785 apply #220800000000000000000000000001ff -> 999
439decf786 apply #220800000000000000000000000002ff -> 999
440decf787 apply #220800000000000000000000000003ff -> 999
441