]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/dqNextToward.decTest
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / decimaltestdata / dqNextToward.decTest
CommitLineData
4710c53d 1------------------------------------------------------------------------\r
2-- dqNextToward.decTest -- decQuad next toward rhs [754r nextafter] --\r
3-- Copyright (c) IBM Corporation, 1981, 2008. All rights reserved. --\r
4------------------------------------------------------------------------\r
5-- Please see the document "General Decimal Arithmetic Testcases" --\r
6-- at http://www2.hursley.ibm.com/decimal for the description of --\r
7-- these testcases. --\r
8-- --\r
9-- These testcases are experimental ('beta' versions), and they --\r
10-- may contain errors. They are offered on an as-is basis. In --\r
11-- particular, achieving the same results as the tests here is not --\r
12-- a guarantee that an implementation complies with any Standard --\r
13-- or specification. The tests are not exhaustive. --\r
14-- --\r
15-- Please send comments, suggestions, and corrections to the author: --\r
16-- Mike Cowlishaw, IBM Fellow --\r
17-- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK --\r
18-- mfc@uk.ibm.com --\r
19------------------------------------------------------------------------\r
20version: 2.59\r
21\r
22-- All operands and results are decQuads.\r
23extended: 1\r
24clamp: 1\r
25precision: 34\r
26maxExponent: 6144\r
27minExponent: -6143\r
28rounding: half_even\r
29\r
30\r
31-- Sanity check with a scattering of numerics\r
32dqnextt001 nexttoward 10 10 -> 10\r
33dqnextt002 nexttoward -10 -10 -> -10\r
34dqnextt003 nexttoward 1 10 -> 1.000000000000000000000000000000001\r
35dqnextt004 nexttoward 1 -10 -> 0.9999999999999999999999999999999999\r
36dqnextt005 nexttoward -1 10 -> -0.9999999999999999999999999999999999\r
37dqnextt006 nexttoward -1 -10 -> -1.000000000000000000000000000000001\r
38dqnextt007 nexttoward 0 10 -> 1E-6176 Underflow Subnormal Inexact Rounded\r
39dqnextt008 nexttoward 0 -10 -> -1E-6176 Underflow Subnormal Inexact Rounded\r
40dqnextt009 nexttoward 9.999999999999999999999999999999999E+6144 +Infinity -> Infinity Overflow Inexact Rounded\r
41dqnextt010 nexttoward -9.999999999999999999999999999999999E+6144 -Infinity -> -Infinity Overflow Inexact Rounded\r
42dqnextt011 nexttoward 9.999999999999999999999999999999999 10 -> 10.00000000000000000000000000000000\r
43dqnextt012 nexttoward 10 9.999999999999999999999999999999999 -> 9.999999999999999999999999999999999\r
44dqnextt013 nexttoward -9.999999999999999999999999999999999 -10 -> -10.00000000000000000000000000000000\r
45dqnextt014 nexttoward -10 -9.999999999999999999999999999999999 -> -9.999999999999999999999999999999999\r
46dqnextt015 nexttoward 9.999999999999999999999999999999998 10 -> 9.999999999999999999999999999999999\r
47dqnextt016 nexttoward 10 9.999999999999999999999999999999998 -> 9.999999999999999999999999999999999\r
48dqnextt017 nexttoward -9.999999999999999999999999999999998 -10 -> -9.999999999999999999999999999999999\r
49dqnextt018 nexttoward -10 -9.999999999999999999999999999999998 -> -9.999999999999999999999999999999999\r
50\r
51------- lhs=rhs\r
52-- finites\r
53dqnextt101 nexttoward 7 7 -> 7\r
54dqnextt102 nexttoward -7 -7 -> -7\r
55dqnextt103 nexttoward 75 75 -> 75\r
56dqnextt104 nexttoward -75 -75 -> -75\r
57dqnextt105 nexttoward 7.50 7.5 -> 7.50\r
58dqnextt106 nexttoward -7.50 -7.50 -> -7.50\r
59dqnextt107 nexttoward 7.500 7.5000 -> 7.500\r
60dqnextt108 nexttoward -7.500 -7.5 -> -7.500\r
61\r
62-- zeros\r
63dqnextt111 nexttoward 0 0 -> 0\r
64dqnextt112 nexttoward -0 -0 -> -0\r
65dqnextt113 nexttoward 0E+4 0 -> 0E+4\r
66dqnextt114 nexttoward -0E+4 -0 -> -0E+4\r
67dqnextt115 nexttoward 0.00000000000 0.000000000000 -> 0E-11\r
68dqnextt116 nexttoward -0.00000000000 -0.00 -> -0E-11\r
69dqnextt117 nexttoward 0E-141 0 -> 0E-141\r
70dqnextt118 nexttoward -0E-141 -000 -> -0E-141\r
71\r
72-- full coefficients, alternating bits\r
73dqnextt121 nexttoward 268268268 268268268 -> 268268268\r
74dqnextt122 nexttoward -268268268 -268268268 -> -268268268\r
75dqnextt123 nexttoward 134134134 134134134 -> 134134134\r
76dqnextt124 nexttoward -134134134 -134134134 -> -134134134\r
77\r
78-- Nmax, Nmin, Ntiny\r
79dqnextt131 nexttoward 9.999999999999999999999999999999999E+6144 9.999999999999999999999999999999999E+6144 -> 9.999999999999999999999999999999999E+6144\r
80dqnextt132 nexttoward 1E-6143 1E-6143 -> 1E-6143\r
81dqnextt133 nexttoward 1.000000000000000000000000000000000E-6143 1.000000000000000000000000000000000E-6143 -> 1.000000000000000000000000000000000E-6143\r
82dqnextt134 nexttoward 1E-6176 1E-6176 -> 1E-6176\r
83\r
84dqnextt135 nexttoward -1E-6176 -1E-6176 -> -1E-6176\r
85dqnextt136 nexttoward -1.000000000000000000000000000000000E-6143 -1.000000000000000000000000000000000E-6143 -> -1.000000000000000000000000000000000E-6143\r
86dqnextt137 nexttoward -1E-6143 -1E-6143 -> -1E-6143\r
87dqnextt138 nexttoward -9.999999999999999999999999999999999E+6144 -9.999999999999999999999999999999999E+6144 -> -9.999999999999999999999999999999999E+6144\r
88\r
89------- lhs<rhs\r
90dqnextt201 nexttoward 0.9999999999999999999999999999999995 Infinity -> 0.9999999999999999999999999999999996\r
91dqnextt202 nexttoward 0.9999999999999999999999999999999996 Infinity -> 0.9999999999999999999999999999999997\r
92dqnextt203 nexttoward 0.9999999999999999999999999999999997 Infinity -> 0.9999999999999999999999999999999998\r
93dqnextt204 nexttoward 0.9999999999999999999999999999999998 Infinity -> 0.9999999999999999999999999999999999\r
94dqnextt205 nexttoward 0.9999999999999999999999999999999999 Infinity -> 1.000000000000000000000000000000000\r
95dqnextt206 nexttoward 1.000000000000000000000000000000000 Infinity -> 1.000000000000000000000000000000001\r
96dqnextt207 nexttoward 1.0 Infinity -> 1.000000000000000000000000000000001\r
97dqnextt208 nexttoward 1 Infinity -> 1.000000000000000000000000000000001\r
98dqnextt209 nexttoward 1.000000000000000000000000000000001 Infinity -> 1.000000000000000000000000000000002\r
99dqnextt210 nexttoward 1.000000000000000000000000000000002 Infinity -> 1.000000000000000000000000000000003\r
100dqnextt211 nexttoward 1.000000000000000000000000000000003 Infinity -> 1.000000000000000000000000000000004\r
101dqnextt212 nexttoward 1.000000000000000000000000000000004 Infinity -> 1.000000000000000000000000000000005\r
102dqnextt213 nexttoward 1.000000000000000000000000000000005 Infinity -> 1.000000000000000000000000000000006\r
103dqnextt214 nexttoward 1.000000000000000000000000000000006 Infinity -> 1.000000000000000000000000000000007\r
104dqnextt215 nexttoward 1.000000000000000000000000000000007 Infinity -> 1.000000000000000000000000000000008\r
105dqnextt216 nexttoward 1.000000000000000000000000000000008 Infinity -> 1.000000000000000000000000000000009\r
106dqnextt217 nexttoward 1.000000000000000000000000000000009 Infinity -> 1.000000000000000000000000000000010\r
107dqnextt218 nexttoward 1.000000000000000000000000000000010 Infinity -> 1.000000000000000000000000000000011\r
108dqnextt219 nexttoward 1.000000000000000000000000000000011 Infinity -> 1.000000000000000000000000000000012\r
109\r
110dqnextt221 nexttoward -0.9999999999999999999999999999999995 Infinity -> -0.9999999999999999999999999999999994\r
111dqnextt222 nexttoward -0.9999999999999999999999999999999996 Infinity -> -0.9999999999999999999999999999999995\r
112dqnextt223 nexttoward -0.9999999999999999999999999999999997 Infinity -> -0.9999999999999999999999999999999996\r
113dqnextt224 nexttoward -0.9999999999999999999999999999999998 Infinity -> -0.9999999999999999999999999999999997\r
114dqnextt225 nexttoward -0.9999999999999999999999999999999999 Infinity -> -0.9999999999999999999999999999999998\r
115dqnextt226 nexttoward -1.000000000000000000000000000000000 Infinity -> -0.9999999999999999999999999999999999\r
116dqnextt227 nexttoward -1.0 Infinity -> -0.9999999999999999999999999999999999\r
117dqnextt228 nexttoward -1 Infinity -> -0.9999999999999999999999999999999999\r
118dqnextt229 nexttoward -1.000000000000000000000000000000001 Infinity -> -1.000000000000000000000000000000000\r
119dqnextt230 nexttoward -1.000000000000000000000000000000002 Infinity -> -1.000000000000000000000000000000001\r
120dqnextt231 nexttoward -1.000000000000000000000000000000003 Infinity -> -1.000000000000000000000000000000002\r
121dqnextt232 nexttoward -1.000000000000000000000000000000004 Infinity -> -1.000000000000000000000000000000003\r
122dqnextt233 nexttoward -1.000000000000000000000000000000005 Infinity -> -1.000000000000000000000000000000004\r
123dqnextt234 nexttoward -1.000000000000000000000000000000006 Infinity -> -1.000000000000000000000000000000005\r
124dqnextt235 nexttoward -1.000000000000000000000000000000007 Infinity -> -1.000000000000000000000000000000006\r
125dqnextt236 nexttoward -1.000000000000000000000000000000008 Infinity -> -1.000000000000000000000000000000007\r
126dqnextt237 nexttoward -1.000000000000000000000000000000009 Infinity -> -1.000000000000000000000000000000008\r
127dqnextt238 nexttoward -1.000000000000000000000000000000010 Infinity -> -1.000000000000000000000000000000009\r
128dqnextt239 nexttoward -1.000000000000000000000000000000011 Infinity -> -1.000000000000000000000000000000010\r
129dqnextt240 nexttoward -1.000000000000000000000000000000012 Infinity -> -1.000000000000000000000000000000011\r
130\r
131-- Zeros\r
132dqnextt300 nexttoward 0 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
133dqnextt301 nexttoward 0.00 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
134dqnextt302 nexttoward 0E-300 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
135dqnextt303 nexttoward 0E+300 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
136dqnextt304 nexttoward 0E+30000 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
137dqnextt305 nexttoward -0 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
138dqnextt306 nexttoward -0.00 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
139dqnextt307 nexttoward -0E-300 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
140dqnextt308 nexttoward -0E+300 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
141dqnextt309 nexttoward -0E+30000 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
142\r
143-- specials\r
144dqnextt350 nexttoward Inf Infinity -> Infinity\r
145dqnextt351 nexttoward -Inf Infinity -> -9.999999999999999999999999999999999E+6144\r
146dqnextt352 nexttoward NaN Infinity -> NaN\r
147dqnextt353 nexttoward sNaN Infinity -> NaN Invalid_operation\r
148dqnextt354 nexttoward NaN77 Infinity -> NaN77\r
149dqnextt355 nexttoward sNaN88 Infinity -> NaN88 Invalid_operation\r
150dqnextt356 nexttoward -NaN Infinity -> -NaN\r
151dqnextt357 nexttoward -sNaN Infinity -> -NaN Invalid_operation\r
152dqnextt358 nexttoward -NaN77 Infinity -> -NaN77\r
153dqnextt359 nexttoward -sNaN88 Infinity -> -NaN88 Invalid_operation\r
154\r
155-- Nmax, Nmin, Ntiny, subnormals\r
156dqnextt370 nexttoward -9.999999999999999999999999999999999E+6144 Infinity -> -9.999999999999999999999999999999998E+6144\r
157dqnextt371 nexttoward -9.999999999999999999999999999999998E+6144 Infinity -> -9.999999999999999999999999999999997E+6144\r
158dqnextt372 nexttoward -1E-6143 Infinity -> -9.99999999999999999999999999999999E-6144 Underflow Subnormal Inexact Rounded\r
159dqnextt373 nexttoward -1.000000000000000E-6143 Infinity -> -9.99999999999999999999999999999999E-6144 Underflow Subnormal Inexact Rounded\r
160dqnextt374 nexttoward -9E-6176 Infinity -> -8E-6176 Underflow Subnormal Inexact Rounded\r
161dqnextt375 nexttoward -9.9E-6175 Infinity -> -9.8E-6175 Underflow Subnormal Inexact Rounded\r
162dqnextt376 nexttoward -9.99999999999999999999999999999E-6147 Infinity -> -9.99999999999999999999999999998E-6147 Underflow Subnormal Inexact Rounded\r
163dqnextt377 nexttoward -9.99999999999999999999999999999999E-6144 Infinity -> -9.99999999999999999999999999999998E-6144 Underflow Subnormal Inexact Rounded\r
164dqnextt378 nexttoward -9.99999999999999999999999999999998E-6144 Infinity -> -9.99999999999999999999999999999997E-6144 Underflow Subnormal Inexact Rounded\r
165dqnextt379 nexttoward -9.99999999999999999999999999999997E-6144 Infinity -> -9.99999999999999999999999999999996E-6144 Underflow Subnormal Inexact Rounded\r
166dqnextt380 nexttoward -0E-6176 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
167dqnextt381 nexttoward -1E-6176 Infinity -> -0E-6176 Underflow Subnormal Inexact Rounded Clamped\r
168dqnextt382 nexttoward -2E-6176 Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
169\r
170dqnextt383 nexttoward 0E-6176 Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
171dqnextt384 nexttoward 1E-6176 Infinity -> 2E-6176 Underflow Subnormal Inexact Rounded\r
172dqnextt385 nexttoward 2E-6176 Infinity -> 3E-6176 Underflow Subnormal Inexact Rounded\r
173dqnextt386 nexttoward 10E-6176 Infinity -> 1.1E-6175 Underflow Subnormal Inexact Rounded\r
174dqnextt387 nexttoward 100E-6176 Infinity -> 1.01E-6174 Underflow Subnormal Inexact Rounded\r
175dqnextt388 nexttoward 100000E-6176 Infinity -> 1.00001E-6171 Underflow Subnormal Inexact Rounded\r
176dqnextt389 nexttoward 1.00000000000000000000000000000E-6143 Infinity -> 1.000000000000000000000000000000001E-6143\r
177dqnextt390 nexttoward 1.000000000000000000000000000000000E-6143 Infinity -> 1.000000000000000000000000000000001E-6143\r
178dqnextt391 nexttoward 1E-6143 Infinity -> 1.000000000000000000000000000000001E-6143\r
179dqnextt392 nexttoward 9.999999999999999999999999999999997E+6144 Infinity -> 9.999999999999999999999999999999998E+6144\r
180dqnextt393 nexttoward 9.999999999999999999999999999999998E+6144 Infinity -> 9.999999999999999999999999999999999E+6144\r
181dqnextt394 nexttoward 9.999999999999999999999999999999999E+6144 Infinity -> Infinity Overflow Inexact Rounded\r
182\r
183------- lhs>rhs\r
184dqnextt401 nexttoward 0.9999999999999999999999999999999995 -Infinity -> 0.9999999999999999999999999999999994\r
185dqnextt402 nexttoward 0.9999999999999999999999999999999996 -Infinity -> 0.9999999999999999999999999999999995\r
186dqnextt403 nexttoward 0.9999999999999999999999999999999997 -Infinity -> 0.9999999999999999999999999999999996\r
187dqnextt404 nexttoward 0.9999999999999999999999999999999998 -Infinity -> 0.9999999999999999999999999999999997\r
188dqnextt405 nexttoward 0.9999999999999999999999999999999999 -Infinity -> 0.9999999999999999999999999999999998\r
189dqnextt406 nexttoward 1.000000000000000000000000000000000 -Infinity -> 0.9999999999999999999999999999999999\r
190dqnextt407 nexttoward 1.0 -Infinity -> 0.9999999999999999999999999999999999\r
191dqnextt408 nexttoward 1 -Infinity -> 0.9999999999999999999999999999999999\r
192dqnextt409 nexttoward 1.000000000000000000000000000000001 -Infinity -> 1.000000000000000000000000000000000\r
193dqnextt410 nexttoward 1.000000000000000000000000000000002 -Infinity -> 1.000000000000000000000000000000001\r
194dqnextt411 nexttoward 1.000000000000000000000000000000003 -Infinity -> 1.000000000000000000000000000000002\r
195dqnextt412 nexttoward 1.000000000000000000000000000000004 -Infinity -> 1.000000000000000000000000000000003\r
196dqnextt413 nexttoward 1.000000000000000000000000000000005 -Infinity -> 1.000000000000000000000000000000004\r
197dqnextt414 nexttoward 1.000000000000000000000000000000006 -Infinity -> 1.000000000000000000000000000000005\r
198dqnextt415 nexttoward 1.000000000000000000000000000000007 -Infinity -> 1.000000000000000000000000000000006\r
199dqnextt416 nexttoward 1.000000000000000000000000000000008 -Infinity -> 1.000000000000000000000000000000007\r
200dqnextt417 nexttoward 1.000000000000000000000000000000009 -Infinity -> 1.000000000000000000000000000000008\r
201dqnextt418 nexttoward 1.000000000000000000000000000000010 -Infinity -> 1.000000000000000000000000000000009\r
202dqnextt419 nexttoward 1.000000000000000000000000000000011 -Infinity -> 1.000000000000000000000000000000010\r
203dqnextt420 nexttoward 1.000000000000000000000000000000012 -Infinity -> 1.000000000000000000000000000000011\r
204\r
205dqnextt421 nexttoward -0.9999999999999999999999999999999995 -Infinity -> -0.9999999999999999999999999999999996\r
206dqnextt422 nexttoward -0.9999999999999999999999999999999996 -Infinity -> -0.9999999999999999999999999999999997\r
207dqnextt423 nexttoward -0.9999999999999999999999999999999997 -Infinity -> -0.9999999999999999999999999999999998\r
208dqnextt424 nexttoward -0.9999999999999999999999999999999998 -Infinity -> -0.9999999999999999999999999999999999\r
209dqnextt425 nexttoward -0.9999999999999999999999999999999999 -Infinity -> -1.000000000000000000000000000000000\r
210dqnextt426 nexttoward -1.000000000000000000000000000000000 -Infinity -> -1.000000000000000000000000000000001\r
211dqnextt427 nexttoward -1.0 -Infinity -> -1.000000000000000000000000000000001\r
212dqnextt428 nexttoward -1 -Infinity -> -1.000000000000000000000000000000001\r
213dqnextt429 nexttoward -1.000000000000000000000000000000001 -Infinity -> -1.000000000000000000000000000000002\r
214dqnextt430 nexttoward -1.000000000000000000000000000000002 -Infinity -> -1.000000000000000000000000000000003\r
215dqnextt431 nexttoward -1.000000000000000000000000000000003 -Infinity -> -1.000000000000000000000000000000004\r
216dqnextt432 nexttoward -1.000000000000000000000000000000004 -Infinity -> -1.000000000000000000000000000000005\r
217dqnextt433 nexttoward -1.000000000000000000000000000000005 -Infinity -> -1.000000000000000000000000000000006\r
218dqnextt434 nexttoward -1.000000000000000000000000000000006 -Infinity -> -1.000000000000000000000000000000007\r
219dqnextt435 nexttoward -1.000000000000000000000000000000007 -Infinity -> -1.000000000000000000000000000000008\r
220dqnextt436 nexttoward -1.000000000000000000000000000000008 -Infinity -> -1.000000000000000000000000000000009\r
221dqnextt437 nexttoward -1.000000000000000000000000000000009 -Infinity -> -1.000000000000000000000000000000010\r
222dqnextt438 nexttoward -1.000000000000000000000000000000010 -Infinity -> -1.000000000000000000000000000000011\r
223dqnextt439 nexttoward -1.000000000000000000000000000000011 -Infinity -> -1.000000000000000000000000000000012\r
224\r
225-- Zeros\r
226dqnextt500 nexttoward -0 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
227dqnextt501 nexttoward 0 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
228dqnextt502 nexttoward 0.00 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
229dqnextt503 nexttoward -0.00 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
230dqnextt504 nexttoward 0E-300 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
231dqnextt505 nexttoward 0E+300 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
232dqnextt506 nexttoward 0E+30000 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
233dqnextt507 nexttoward -0E+30000 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
234\r
235-- specials\r
236dqnextt550 nexttoward Inf -Infinity -> 9.999999999999999999999999999999999E+6144\r
237dqnextt551 nexttoward -Inf -Infinity -> -Infinity\r
238dqnextt552 nexttoward NaN -Infinity -> NaN\r
239dqnextt553 nexttoward sNaN -Infinity -> NaN Invalid_operation\r
240dqnextt554 nexttoward NaN77 -Infinity -> NaN77\r
241dqnextt555 nexttoward sNaN88 -Infinity -> NaN88 Invalid_operation\r
242dqnextt556 nexttoward -NaN -Infinity -> -NaN\r
243dqnextt557 nexttoward -sNaN -Infinity -> -NaN Invalid_operation\r
244dqnextt558 nexttoward -NaN77 -Infinity -> -NaN77\r
245dqnextt559 nexttoward -sNaN88 -Infinity -> -NaN88 Invalid_operation\r
246\r
247-- Nmax, Nmin, Ntiny, subnormals\r
248dqnextt670 nexttoward 9.999999999999999999999999999999999E+6144 -Infinity -> 9.999999999999999999999999999999998E+6144\r
249dqnextt671 nexttoward 9.999999999999999999999999999999998E+6144 -Infinity -> 9.999999999999999999999999999999997E+6144\r
250dqnextt672 nexttoward 1E-6143 -Infinity -> 9.99999999999999999999999999999999E-6144 Underflow Subnormal Inexact Rounded\r
251dqnextt673 nexttoward 1.000000000000000000000000000000000E-6143 -Infinity -> 9.99999999999999999999999999999999E-6144 Underflow Subnormal Inexact Rounded\r
252dqnextt674 nexttoward 9E-6176 -Infinity -> 8E-6176 Underflow Subnormal Inexact Rounded\r
253dqnextt675 nexttoward 9.9E-6175 -Infinity -> 9.8E-6175 Underflow Subnormal Inexact Rounded\r
254dqnextt676 nexttoward 9.99999999999999999999999999999E-6147 -Infinity -> 9.99999999999999999999999999998E-6147 Underflow Subnormal Inexact Rounded\r
255dqnextt677 nexttoward 9.99999999999999999999999999999999E-6144 -Infinity -> 9.99999999999999999999999999999998E-6144 Underflow Subnormal Inexact Rounded\r
256dqnextt678 nexttoward 9.99999999999999999999999999999998E-6144 -Infinity -> 9.99999999999999999999999999999997E-6144 Underflow Subnormal Inexact Rounded\r
257dqnextt679 nexttoward 9.99999999999999999999999999999997E-6144 -Infinity -> 9.99999999999999999999999999999996E-6144 Underflow Subnormal Inexact Rounded\r
258dqnextt680 nexttoward 0E-6176 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
259dqnextt681 nexttoward 1E-6176 -Infinity -> 0E-6176 Underflow Subnormal Inexact Rounded Clamped\r
260dqnextt682 nexttoward 2E-6176 -Infinity -> 1E-6176 Underflow Subnormal Inexact Rounded\r
261\r
262dqnextt683 nexttoward -0E-6176 -Infinity -> -1E-6176 Underflow Subnormal Inexact Rounded\r
263dqnextt684 nexttoward -1E-6176 -Infinity -> -2E-6176 Underflow Subnormal Inexact Rounded\r
264dqnextt685 nexttoward -2E-6176 -Infinity -> -3E-6176 Underflow Subnormal Inexact Rounded\r
265dqnextt686 nexttoward -10E-6176 -Infinity -> -1.1E-6175 Underflow Subnormal Inexact Rounded\r
266dqnextt687 nexttoward -100E-6176 -Infinity -> -1.01E-6174 Underflow Subnormal Inexact Rounded\r
267dqnextt688 nexttoward -100000E-6176 -Infinity -> -1.00001E-6171 Underflow Subnormal Inexact Rounded\r
268dqnextt689 nexttoward -1.00000000000000000000000000000E-6143 -Infinity -> -1.000000000000000000000000000000001E-6143\r
269dqnextt690 nexttoward -1.000000000000000000000000000000000E-6143 -Infinity -> -1.000000000000000000000000000000001E-6143\r
270dqnextt691 nexttoward -1E-6143 -Infinity -> -1.000000000000000000000000000000001E-6143\r
271dqnextt692 nexttoward -9.999999999999999999999999999999998E+6144 -Infinity -> -9.999999999999999999999999999999999E+6144\r
272dqnextt693 nexttoward -9.999999999999999999999999999999999E+6144 -Infinity -> -Infinity Overflow Inexact Rounded\r
273\r
274------- Specials\r
275dqnextt780 nexttoward -Inf -Inf -> -Infinity\r
276dqnextt781 nexttoward -Inf -1000 -> -9.999999999999999999999999999999999E+6144\r
277dqnextt782 nexttoward -Inf -1 -> -9.999999999999999999999999999999999E+6144\r
278dqnextt783 nexttoward -Inf -0 -> -9.999999999999999999999999999999999E+6144\r
279dqnextt784 nexttoward -Inf 0 -> -9.999999999999999999999999999999999E+6144\r
280dqnextt785 nexttoward -Inf 1 -> -9.999999999999999999999999999999999E+6144\r
281dqnextt786 nexttoward -Inf 1000 -> -9.999999999999999999999999999999999E+6144\r
282dqnextt787 nexttoward -1000 -Inf -> -1000.000000000000000000000000000001\r
283dqnextt788 nexttoward -Inf -Inf -> -Infinity\r
284dqnextt789 nexttoward -1 -Inf -> -1.000000000000000000000000000000001\r
285dqnextt790 nexttoward -0 -Inf -> -1E-6176 Underflow Subnormal Inexact Rounded\r
286dqnextt791 nexttoward 0 -Inf -> -1E-6176 Underflow Subnormal Inexact Rounded\r
287dqnextt792 nexttoward 1 -Inf -> 0.9999999999999999999999999999999999\r
288dqnextt793 nexttoward 1000 -Inf -> 999.9999999999999999999999999999999\r
289dqnextt794 nexttoward Inf -Inf -> 9.999999999999999999999999999999999E+6144\r
290\r
291dqnextt800 nexttoward Inf -Inf -> 9.999999999999999999999999999999999E+6144\r
292dqnextt801 nexttoward Inf -1000 -> 9.999999999999999999999999999999999E+6144\r
293dqnextt802 nexttoward Inf -1 -> 9.999999999999999999999999999999999E+6144\r
294dqnextt803 nexttoward Inf -0 -> 9.999999999999999999999999999999999E+6144\r
295dqnextt804 nexttoward Inf 0 -> 9.999999999999999999999999999999999E+6144\r
296dqnextt805 nexttoward Inf 1 -> 9.999999999999999999999999999999999E+6144\r
297dqnextt806 nexttoward Inf 1000 -> 9.999999999999999999999999999999999E+6144\r
298dqnextt807 nexttoward Inf Inf -> Infinity\r
299dqnextt808 nexttoward -1000 Inf -> -999.9999999999999999999999999999999\r
300dqnextt809 nexttoward -Inf Inf -> -9.999999999999999999999999999999999E+6144\r
301dqnextt810 nexttoward -1 Inf -> -0.9999999999999999999999999999999999\r
302dqnextt811 nexttoward -0 Inf -> 1E-6176 Underflow Subnormal Inexact Rounded\r
303dqnextt812 nexttoward 0 Inf -> 1E-6176 Underflow Subnormal Inexact Rounded\r
304dqnextt813 nexttoward 1 Inf -> 1.000000000000000000000000000000001\r
305dqnextt814 nexttoward 1000 Inf -> 1000.000000000000000000000000000001\r
306dqnextt815 nexttoward Inf Inf -> Infinity\r
307\r
308dqnextt821 nexttoward NaN -Inf -> NaN\r
309dqnextt822 nexttoward NaN -1000 -> NaN\r
310dqnextt823 nexttoward NaN -1 -> NaN\r
311dqnextt824 nexttoward NaN -0 -> NaN\r
312dqnextt825 nexttoward NaN 0 -> NaN\r
313dqnextt826 nexttoward NaN 1 -> NaN\r
314dqnextt827 nexttoward NaN 1000 -> NaN\r
315dqnextt828 nexttoward NaN Inf -> NaN\r
316dqnextt829 nexttoward NaN NaN -> NaN\r
317dqnextt830 nexttoward -Inf NaN -> NaN\r
318dqnextt831 nexttoward -1000 NaN -> NaN\r
319dqnextt832 nexttoward -1 NaN -> NaN\r
320dqnextt833 nexttoward -0 NaN -> NaN\r
321dqnextt834 nexttoward 0 NaN -> NaN\r
322dqnextt835 nexttoward 1 NaN -> NaN\r
323dqnextt836 nexttoward 1000 NaN -> NaN\r
324dqnextt837 nexttoward Inf NaN -> NaN\r
325\r
326dqnextt841 nexttoward sNaN -Inf -> NaN Invalid_operation\r
327dqnextt842 nexttoward sNaN -1000 -> NaN Invalid_operation\r
328dqnextt843 nexttoward sNaN -1 -> NaN Invalid_operation\r
329dqnextt844 nexttoward sNaN -0 -> NaN Invalid_operation\r
330dqnextt845 nexttoward sNaN 0 -> NaN Invalid_operation\r
331dqnextt846 nexttoward sNaN 1 -> NaN Invalid_operation\r
332dqnextt847 nexttoward sNaN 1000 -> NaN Invalid_operation\r
333dqnextt848 nexttoward sNaN NaN -> NaN Invalid_operation\r
334dqnextt849 nexttoward sNaN sNaN -> NaN Invalid_operation\r
335dqnextt850 nexttoward NaN sNaN -> NaN Invalid_operation\r
336dqnextt851 nexttoward -Inf sNaN -> NaN Invalid_operation\r
337dqnextt852 nexttoward -1000 sNaN -> NaN Invalid_operation\r
338dqnextt853 nexttoward -1 sNaN -> NaN Invalid_operation\r
339dqnextt854 nexttoward -0 sNaN -> NaN Invalid_operation\r
340dqnextt855 nexttoward 0 sNaN -> NaN Invalid_operation\r
341dqnextt856 nexttoward 1 sNaN -> NaN Invalid_operation\r
342dqnextt857 nexttoward 1000 sNaN -> NaN Invalid_operation\r
343dqnextt858 nexttoward Inf sNaN -> NaN Invalid_operation\r
344dqnextt859 nexttoward NaN sNaN -> NaN Invalid_operation\r
345\r
346-- propagating NaNs\r
347dqnextt861 nexttoward NaN1 -Inf -> NaN1\r
348dqnextt862 nexttoward +NaN2 -1000 -> NaN2\r
349dqnextt863 nexttoward NaN3 1000 -> NaN3\r
350dqnextt864 nexttoward NaN4 Inf -> NaN4\r
351dqnextt865 nexttoward NaN5 +NaN6 -> NaN5\r
352dqnextt866 nexttoward -Inf NaN7 -> NaN7\r
353dqnextt867 nexttoward -1000 NaN8 -> NaN8\r
354dqnextt868 nexttoward 1000 NaN9 -> NaN9\r
355dqnextt869 nexttoward Inf +NaN10 -> NaN10\r
356dqnextt871 nexttoward sNaN11 -Inf -> NaN11 Invalid_operation\r
357dqnextt872 nexttoward sNaN12 -1000 -> NaN12 Invalid_operation\r
358dqnextt873 nexttoward sNaN13 1000 -> NaN13 Invalid_operation\r
359dqnextt874 nexttoward sNaN14 NaN17 -> NaN14 Invalid_operation\r
360dqnextt875 nexttoward sNaN15 sNaN18 -> NaN15 Invalid_operation\r
361dqnextt876 nexttoward NaN16 sNaN19 -> NaN19 Invalid_operation\r
362dqnextt877 nexttoward -Inf +sNaN20 -> NaN20 Invalid_operation\r
363dqnextt878 nexttoward -1000 sNaN21 -> NaN21 Invalid_operation\r
364dqnextt879 nexttoward 1000 sNaN22 -> NaN22 Invalid_operation\r
365dqnextt880 nexttoward Inf sNaN23 -> NaN23 Invalid_operation\r
366dqnextt881 nexttoward +NaN25 +sNaN24 -> NaN24 Invalid_operation\r
367dqnextt882 nexttoward -NaN26 NaN28 -> -NaN26\r
368dqnextt883 nexttoward -sNaN27 sNaN29 -> -NaN27 Invalid_operation\r
369dqnextt884 nexttoward 1000 -NaN30 -> -NaN30\r
370dqnextt885 nexttoward 1000 -sNaN31 -> -NaN31 Invalid_operation\r
371\r
372-- Null tests\r
373dqnextt900 nexttoward 1 # -> NaN Invalid_operation\r
374dqnextt901 nexttoward # 1 -> NaN Invalid_operation\r
375\r