fgetwc may clobber errno when the result is not WEOF
[libc-test.git] / src / math / ucb / hypotf.h
blobd311db53ae7eb68fcbd614b325c559b9b8069d14
1 // Copyright (C) 1988-1994 Sun Microsystems, Inc. 2550 Garcia Avenue
2 // Mountain View, California 94043 All rights reserved.
3 //
4 // Any person is hereby authorized to download, copy, use, create bug fixes,
5 // and distribute, subject to the following conditions:
6 //
7 // 1. the software may not be redistributed for a fee except as
8 // reasonable to cover media costs;
9 // 2. any copy of the software must include this notice, as well as
10 // any other embedded copyright notices; and
11 // 3. any distribution of this software or derivative works thereof
12 // must comply with all applicable U.S. export control laws.
14 // THE SOFTWARE IS MADE AVAILABLE "AS IS" AND WITHOUT EXPRESS OR IMPLIED
15 // WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO THE IMPLIED
16 // WARRANTIES OF DESIGN, MERCHANTIBILITY, FITNESS FOR A PARTICULAR
17 // PURPOSE, NON-INFRINGEMENT, PERFORMANCE OR CONFORMANCE TO
18 // SPECIFICATIONS.
20 // BY DOWNLOADING AND/OR USING THIS SOFTWARE, THE USER WAIVES ALL CLAIMS
21 // AGAINST SUN MICROSYSTEMS, INC. AND ITS AFFILIATED COMPANIES IN ANY
22 // JURISDICTION, INCLUDING BUT NOT LIMITED TO CLAIMS FOR DAMAGES OR
23 // EQUITABLE RELIEF BASED ON LOSS OF DATA, AND SPECIFICALLY WAIVES EVEN
24 // UNKNOWN OR UNANTICIPATED CLAIMS OR LOSSES, PRESENT AND FUTURE.
26 // IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS AFFILIATED
27 // COMPANIES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL,
28 // INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF IT HAS BEEN ADVISED OF THE
29 // POSSIBILITY OF SUCH DAMAGES.
31 // This file is provided with no support and without any obligation on the
32 // part of Sun Microsystems, Inc. ("Sun") or any of its affiliated
33 // companies to assist in its use, correction, modification or
34 // enhancement. Nevertheless, and without creating any obligation on its
35 // part, Sun welcomes your comments concerning the software and requests
36 // that they be sent to fdlibm-comments@sunpro.sun.com.
37 // 0.7max,0.6max
38 T(RN, 0x1.666666p+127, 0x1.333334p+127, 0x1.d80a6ap+127, 0x1.b63f02p-7, INEXACT)
39 T(RZ, 0x1.666666p+127, 0x1.333334p+127, 0x1.d80a68p+127, -0x1.f92704p-1, INEXACT)
40 T(RU, 0x1.666666p+127, 0x1.333334p+127, 0x1.d80a6ap+127, 0x1.b63f02p-7, INEXACT)
41 T(RD, 0x1.666666p+127, 0x1.333334p+127, 0x1.d80a68p+127, -0x1.f92704p-1, INEXACT)
42 // tiny,huge = huge,tiny = huge
43 T(RN, 0x0p+0, 0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, 0)
44 T(RN, 0x1p-149, 0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, INEXACT)
45 T(RN, 0x1p-126, 0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, INEXACT)
46 T(RN, 0x1p+0, 0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, INEXACT)
47 T(RN, 0x1.fffffep+127, 0x0p+0, 0x1.fffffep+127, 0x0p+0, 0)
48 T(RN, 0x1.fffffep+127, 0x1p-149, 0x1.fffffep+127, 0x0p+0, INEXACT)
49 T(RN, 0x1.fffffep+127, 0x1p-126, 0x1.fffffep+127, 0x0p+0, INEXACT)
50 T(RN, 0x1.fffffep+127, 0x1p+0, 0x1.fffffep+127, 0x0p+0, INEXACT)
51 // pythagoras integers test
52 T(RN, 0x1.ffe39cp+22, 0x1.c48p+14, 0x1.ffe464p+22, 0x0p+0, 0)
53 T(RN, 0x1.ffe2bcp+22, 0x1.974p+15, 0x1.ffe544p+22, 0x0p+0, 0)
54 T(RN, 0x1.ffe15cp+22, 0x1.262p+16, 0x1.ffe6a4p+22, 0x0p+0, 0)
55 T(RN, 0x1.ffdf7cp+22, 0x1.80ap+16, 0x1.ffe884p+22, 0x0p+0, 0)
56 T(RN, 0x1.001f3ap+23, 0x1.6a2p+13, 0x1.001f4ap+23, 0x0p+0, 0)
57 T(RN, 0x1.001efap+23, 0x1.0f98p+15, 0x1.001f8ap+23, 0x0p+0, 0)
58 T(RN, 0x1.001e7ap+23, 0x1.c4a8p+15, 0x1.00200ap+23, 0x0p+0, 0)
59 T(RN, 0x1.001dbap+23, 0x1.3cdcp+16, 0x1.0020cap+23, 0x0p+0, 0)
60 T(RN, 0x1.001cbap+23, 0x1.9764p+16, 0x1.0021cap+23, 0x0p+0, 0)
61 T(RN, 0x1.004c86p+23, 0x1.6a4p+12, 0x1.004c8ap+23, 0x0p+0, 0)
62 T(RN, 0x1.004c56p+23, 0x1.c4dp+14, 0x1.004cbap+23, 0x0p+0, 0)
63 T(RN, 0x1.004be6p+23, 0x1.9788p+15, 0x1.004d2ap+23, 0x0p+0, 0)
64 T(RN, 0x1.004b36p+23, 0x1.2654p+16, 0x1.004ddap+23, 0x0p+0, 0)
65 T(RN, 0x1.004a46p+23, 0x1.80e4p+16, 0x1.004ecap+23, 0x0p+0, 0)
66 T(RN, 0x1.0079cap+23, 0x1.6a6p+13, 0x1.0079dap+23, 0x0p+0, 0)
67 T(RN, 0x1.00798ap+23, 0x1.0fc8p+15, 0x1.007a1ap+23, 0x0p+0, 0)
68 T(RN, 0x1.00790ap+23, 0x1.c4f8p+15, 0x1.007a9ap+23, 0x0p+0, 0)
69 T(RN, 0x1.00784ap+23, 0x1.3d14p+16, 0x1.007b5ap+23, 0x0p+0, 0)
70 T(RN, 0x1.00774ap+23, 0x1.97acp+16, 0x1.007c5ap+23, 0x0p+0, 0)
71 T(RN, 0x1.00a71ep+23, 0x1.6a8p+12, 0x1.00a722p+23, 0x0p+0, 0)
72 // radom argument in (-10,10)
73 T(RN, -0x1.57f25cp+1, 0x1.c7d31p+2, 0x1.e72fc4p+2, -0x1.2ed8fp-2, INEXACT)
74 T(RN, 0x1.19be7p+3, -0x1.ab6d7p+2, 0x1.61a0ecp+3, -0x1.a978c8p-6, INEXACT)
75 T(RN, -0x1.5ac18ep+1, -0x1.925982p-2, 0x1.5e6268p+1, -0x1.55d62cp-3, INEXACT)
76 T(RN, 0x1.7221cep+2, 0x1.11a0d4p+3, 0x1.4a5602p+3, 0x1.73f5f4p-2, INEXACT)
77 T(RN, -0x1.ae41a2p+0, -0x1.329154p+3, 0x1.373fep+3, 0x1.1a3a8cp-3, INEXACT)
78 T(RN, -0x1.0accfp+2, 0x1.d94512p-2, 0x1.0c6f6ap+2, -0x1.526f22p-3, INEXACT)
79 T(RN, -0x1.e564p+2, 0x1.c7cbf2p+2, 0x1.4ceca6p+3, -0x1.e8dcc2p-4, INEXACT)
80 T(RN, -0x1.3ec60ep+3, -0x1.3fa3cep+3, 0x1.c36d4cp+3, 0x1.10fbdcp-5, INEXACT)
81 T(RN, -0x1.236fd2p+2, 0x1.742432p+2, 0x1.d8ad9ap+2, -0x1.2fb484p-3, INEXACT)
82 T(RN, 0x1.6f651ep+1, 0x1.3bfd78p+2, 0x1.6d817ep+2, -0x1.ba32cep-2, INEXACT)
83 // nan's resutls
84 T(RN, nan, 0x1p+0, nan, 0x0p+0, 0)
85 T(RN, nan, 0x1p+0, nan, 0x0p+0, 0)
86 T(RN, nan, nan, nan, 0x0p+0, 0)
87 T(RN, nan, nan, nan, 0x0p+0, 0)
88 // inf result
89 T(RN, -inf, nan, inf, 0x0p+0, 0)
90 T(RZ, nan, -inf, inf, 0x0p+0, 0)
91 // inf result with snan argument raise invalid flag
92 T(RN, nan, inf, inf, 0x0p+0, 0)
93 // overflow
94 T(RN,-0x1.fffffep+127, 0x1.fddddcp+127, inf, 0x0p+0, INEXACT|OVERFLOW)
95 T(RZ,-0x1.fffffep+127, 0x1.fddddcp+127, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
96 T(RU,-0x1.fffffep+127, 0x1.fddddcp+127, inf, 0x0p+0, INEXACT|OVERFLOW)
97 T(RD,-0x1.fffffep+127, 0x1.fddddcp+127, 0x1.fffffep+127, -0x1p+0, INEXACT|OVERFLOW)
98 // subnormal number
99 T(RN, 0x0p+0, 0x1p-149, 0x1p-149, 0x0p+0, 0)
100 T(RN, 0x1p-149, 0x0p+0, 0x1p-149, 0x0p+0, 0)
101 T(RN, 0x1p-126, 0x0p+0, 0x1p-126, 0x0p+0, 0)
102 T(RN, 0x0p+0, -0x1p-126, 0x1p-126, 0x0p+0, 0)
103 T(RN, 0x1p-149, 0x1p-149, 0x1p-149, -0x1.a8279ap-2, INEXACT|UNDERFLOW)
104 T(RN, -0x1p-148, -0x1p-148, 0x1.8p-148, 0x1.5f619ap-3, INEXACT|UNDERFLOW)
105 T(RD, 0x0p+0, 0x0p+0, 0x0p+0, 0x0p+0, 0)
106 T(RD, 0x0p+0, 0x1p-149, 0x1p-149, 0x0p+0, 0)
107 T(RD, 0x0p+0, 0x1.fffffcp-127, 0x1.fffffcp-127, 0x0p+0, 0)
108 T(RD, 0x0p+0, 0x1p+0, 0x1p+0, 0x0p+0, 0)
109 T(RD, 0x0p+0, 0x1p+127, 0x1p+127, 0x0p+0, 0)
110 T(RD, 0x0p+0, 0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, 0)
111 T(RD, 0x0p+0, inf, inf, 0x0p+0, 0)
112 T(RD, 0x0p+0, -0x0p+0, 0x0p+0, 0x0p+0, 0)
113 T(RD, 0x0p+0, -0x1p-149, 0x1p-149, 0x0p+0, 0)
114 T(RD, 0x0p+0,-0x1.fffffcp-127, 0x1.fffffcp-127, 0x0p+0, 0)
115 T(RD, 0x0p+0, -0x1p+0, 0x1p+0, 0x0p+0, 0)
116 T(RD, 0x0p+0, -0x1p+127, 0x1p+127, 0x0p+0, 0)
117 T(RD, 0x0p+0,-0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, 0)
118 T(RD, 0x0p+0, -inf, inf, 0x0p+0, 0)
119 T(RD, 0x1p-149, 0x0p+0, 0x1p-149, 0x0p+0, 0)
120 T(RD, 0x1.fffffcp-127, 0x0p+0, 0x1.fffffcp-127, 0x0p+0, 0)
121 T(RD, 0x1p+0, 0x0p+0, 0x1p+0, 0x0p+0, 0)
122 T(RD, 0x1.8p+3, -0x1.4p+2, 0x1.ap+3, 0x0p+0, 0)
123 T(RD, 0x1p+127, 0x0p+0, 0x1p+127, 0x0p+0, 0)
124 T(RD, 0x1.fffffep+127, 0x0p+0, 0x1.fffffep+127, 0x0p+0, 0)
125 T(RD, inf, 0x0p+0, inf, 0x0p+0, 0)
126 T(RD, inf, nan, inf, 0x0p+0, 0)
127 T(RD, inf, nan, inf, 0x0p+0, 0)
128 T(RD, nan, inf, inf, 0x0p+0, 0)
129 T(RD, nan, -inf, inf, 0x0p+0, 0)
130 T(RD, -0x0p+0, 0x0p+0, 0x0p+0, 0x0p+0, 0)
131 T(RD, -0x1p-149, 0x0p+0, 0x1p-149, 0x0p+0, 0)
132 T(RD,-0x1.fffffcp-127, 0x0p+0, 0x1.fffffcp-127, 0x0p+0, 0)
133 T(RD, -0x1p+0, 0x0p+0, 0x1p+0, 0x0p+0, 0)
134 T(RD, -0x1.8p+1, -0x1p+2, 0x1.4p+2, 0x0p+0, 0)
135 T(RD, -0x1.8p+4, 0x1.cp+2, 0x1.9p+4, 0x0p+0, 0)
136 T(RD, -0x1p+127, 0x0p+0, 0x1p+127, 0x0p+0, 0)
137 T(RD,-0x1.fffffep+127, 0x0p+0, 0x1.fffffep+127, 0x0p+0, 0)
138 T(RD, -inf, 0x0p+0, inf, 0x0p+0, 0)
139 T(RD, -inf, nan, inf, 0x0p+0, 0)
140 T(RD, -inf, nan, inf, 0x0p+0, 0)
141 T(RD, nan, inf, inf, 0x0p+0, 0)
142 T(RD, nan, -inf, inf, 0x0p+0, 0)
143 T(RD, 0x0p+0, nan, nan, 0x0p+0, 0)
144 T(RD, 0x0p+0, nan, nan, 0x0p+0, 0)
145 T(RD, 0x1p-149, nan, nan, 0x0p+0, 0)
146 T(RD, 0x1.8p-148, nan, nan, 0x0p+0, 0)
147 T(RD, nan, 0x0p+0, nan, 0x0p+0, 0)
148 T(RD, nan, -0x1p-149, nan, 0x0p+0, 0)
149 T(RD, nan, -0x1.8p-148, nan, 0x0p+0, 0)
150 T(RD, -0x1p-149, nan, nan, 0x0p+0, 0)
151 T(RD, -0x1.8p-148, nan, nan, 0x0p+0, 0)
152 T(RD, nan, 0x0p+0, nan, 0x0p+0, 0)
153 T(RD, nan, 0x1p-149, nan, 0x0p+0, 0)
154 T(RD, nan, 0x1.8p-148, nan, 0x0p+0, 0)
155 T(RN, 0x0p+0, 0x0p+0, 0x0p+0, 0x0p+0, 0)
156 T(RN, 0x0p+0, 0x1.fffffcp-127, 0x1.fffffcp-127, 0x0p+0, 0)
157 T(RN, 0x0p+0, 0x1p+0, 0x1p+0, 0x0p+0, 0)
158 T(RN, 0x0p+0, 0x1p+127, 0x1p+127, 0x0p+0, 0)
159 T(RN, 0x0p+0, inf, inf, 0x0p+0, 0)
160 T(RN, 0x0p+0, -0x0p+0, 0x0p+0, 0x0p+0, 0)
161 T(RN, 0x0p+0, -0x1p-149, 0x1p-149, 0x0p+0, 0)
162 T(RN, 0x0p+0,-0x1.fffffcp-127, 0x1.fffffcp-127, 0x0p+0, 0)
163 T(RN, 0x0p+0, -0x1p+0, 0x1p+0, 0x0p+0, 0)
164 T(RN, 0x0p+0, -0x1p+127, 0x1p+127, 0x0p+0, 0)
165 T(RN, 0x0p+0,-0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, 0)
166 T(RN, 0x0p+0, -inf, inf, 0x0p+0, 0)
167 T(RN, 0x1.fffffcp-127, 0x0p+0, 0x1.fffffcp-127, 0x0p+0, 0)
168 T(RN, 0x1p+0, 0x0p+0, 0x1p+0, 0x0p+0, 0)
169 T(RN, 0x1.8p+3, -0x1.4p+2, 0x1.ap+3, 0x0p+0, 0)
170 T(RN, 0x1p+127, 0x0p+0, 0x1p+127, 0x0p+0, 0)
171 T(RN, inf, 0x0p+0, inf, 0x0p+0, 0)
172 T(RN, inf, nan, inf, 0x0p+0, 0)
173 T(RN, inf, nan, inf, 0x0p+0, 0)
174 T(RN, nan, inf, inf, 0x0p+0, 0)
175 T(RN, nan, -inf, inf, 0x0p+0, 0)
176 T(RN, -0x0p+0, 0x0p+0, 0x0p+0, 0x0p+0, 0)
177 T(RN, -0x1p-149, 0x0p+0, 0x1p-149, 0x0p+0, 0)
178 T(RN,-0x1.fffffcp-127, 0x0p+0, 0x1.fffffcp-127, 0x0p+0, 0)
179 T(RN, -0x1p+0, 0x0p+0, 0x1p+0, 0x0p+0, 0)
180 T(RN, -0x1.8p+1, -0x1p+2, 0x1.4p+2, 0x0p+0, 0)
181 T(RN, -0x1.8p+4, 0x1.cp+2, 0x1.9p+4, 0x0p+0, 0)
182 T(RN, -0x1p+127, 0x0p+0, 0x1p+127, 0x0p+0, 0)
183 T(RN,-0x1.fffffep+127, 0x0p+0, 0x1.fffffep+127, 0x0p+0, 0)
184 T(RN, -inf, 0x0p+0, inf, 0x0p+0, 0)
185 T(RN, -inf, nan, inf, 0x0p+0, 0)
186 T(RN, nan, -inf, inf, 0x0p+0, 0)
187 T(RN, 0x0p+0, nan, nan, 0x0p+0, 0)
188 T(RN, 0x0p+0, nan, nan, 0x0p+0, 0)
189 T(RN, 0x1p-149, nan, nan, 0x0p+0, 0)
190 T(RN, 0x1.8p-148, nan, nan, 0x0p+0, 0)
191 T(RN, nan, 0x0p+0, nan, 0x0p+0, 0)
192 T(RN, nan, -0x1p-149, nan, 0x0p+0, 0)
193 T(RN, nan, -0x1.8p-148, nan, 0x0p+0, 0)
194 T(RN, -0x1p-149, nan, nan, 0x0p+0, 0)
195 T(RN, -0x1.8p-148, nan, nan, 0x0p+0, 0)
196 T(RN, nan, 0x0p+0, nan, 0x0p+0, 0)
197 T(RN, nan, 0x1p-149, nan, 0x0p+0, 0)
198 T(RN, nan, 0x1.8p-148, nan, 0x0p+0, 0)
199 T(RU, 0x0p+0, 0x0p+0, 0x0p+0, 0x0p+0, 0)
200 T(RU, 0x0p+0, 0x1p-149, 0x1p-149, 0x0p+0, 0)
201 T(RU, 0x0p+0, 0x1.fffffcp-127, 0x1.fffffcp-127, 0x0p+0, 0)
202 T(RU, 0x0p+0, 0x1p+0, 0x1p+0, 0x0p+0, 0)
203 T(RU, 0x0p+0, 0x1p+127, 0x1p+127, 0x0p+0, 0)
204 T(RU, 0x0p+0, 0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, 0)
205 T(RU, 0x0p+0, inf, inf, 0x0p+0, 0)
206 T(RU, 0x0p+0, -0x0p+0, 0x0p+0, 0x0p+0, 0)
207 T(RU, 0x0p+0, -0x1p-149, 0x1p-149, 0x0p+0, 0)
208 T(RU, 0x0p+0,-0x1.fffffcp-127, 0x1.fffffcp-127, 0x0p+0, 0)
209 T(RU, 0x0p+0, -0x1p+0, 0x1p+0, 0x0p+0, 0)
210 T(RU, 0x0p+0, -0x1p+127, 0x1p+127, 0x0p+0, 0)
211 T(RU, 0x0p+0,-0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, 0)
212 T(RU, 0x0p+0, -inf, inf, 0x0p+0, 0)
213 T(RU, 0x1p-149, 0x0p+0, 0x1p-149, 0x0p+0, 0)
214 T(RU, 0x1.fffffcp-127, 0x0p+0, 0x1.fffffcp-127, 0x0p+0, 0)
215 T(RU, 0x1p+0, 0x0p+0, 0x1p+0, 0x0p+0, 0)
216 T(RU, 0x1.8p+3, -0x1.4p+2, 0x1.ap+3, 0x0p+0, 0)
217 T(RU, 0x1p+127, 0x0p+0, 0x1p+127, 0x0p+0, 0)
218 T(RU, 0x1.fffffep+127, 0x0p+0, 0x1.fffffep+127, 0x0p+0, 0)
219 T(RU, inf, 0x0p+0, inf, 0x0p+0, 0)
220 T(RU, inf, nan, inf, 0x0p+0, 0)
221 T(RU, inf, nan, inf, 0x0p+0, 0)
222 T(RU, nan, inf, inf, 0x0p+0, 0)
223 T(RU, nan, -inf, inf, 0x0p+0, 0)
224 T(RU, -0x0p+0, 0x0p+0, 0x0p+0, 0x0p+0, 0)
225 T(RU, -0x1p-149, 0x0p+0, 0x1p-149, 0x0p+0, 0)
226 T(RU,-0x1.fffffcp-127, 0x0p+0, 0x1.fffffcp-127, 0x0p+0, 0)
227 T(RU, -0x1p+0, 0x0p+0, 0x1p+0, 0x0p+0, 0)
228 T(RU, -0x1.8p+1, -0x1p+2, 0x1.4p+2, 0x0p+0, 0)
229 T(RU, -0x1.8p+4, 0x1.cp+2, 0x1.9p+4, 0x0p+0, 0)
230 T(RU, -0x1p+127, 0x0p+0, 0x1p+127, 0x0p+0, 0)
231 T(RU,-0x1.fffffep+127, 0x0p+0, 0x1.fffffep+127, 0x0p+0, 0)
232 T(RU, -inf, 0x0p+0, inf, 0x0p+0, 0)
233 T(RU, -inf, nan, inf, 0x0p+0, 0)
234 T(RU, -inf, nan, inf, 0x0p+0, 0)
235 T(RU, nan, inf, inf, 0x0p+0, 0)
236 T(RU, nan, -inf, inf, 0x0p+0, 0)
237 T(RU, 0x0p+0, nan, nan, 0x0p+0, 0)
238 T(RU, 0x0p+0, nan, nan, 0x0p+0, 0)
239 T(RU, 0x1p-149, nan, nan, 0x0p+0, 0)
240 T(RU, 0x1.8p-148, nan, nan, 0x0p+0, 0)
241 T(RU, nan, 0x0p+0, nan, 0x0p+0, 0)
242 T(RU, nan, -0x1p-149, nan, 0x0p+0, 0)
243 T(RU, nan, -0x1.8p-148, nan, 0x0p+0, 0)
244 T(RU, -0x1p-149, nan, nan, 0x0p+0, 0)
245 T(RU, -0x1.8p-148, nan, nan, 0x0p+0, 0)
246 T(RU, nan, 0x0p+0, nan, 0x0p+0, 0)
247 T(RU, nan, 0x1p-149, nan, 0x0p+0, 0)
248 T(RU, nan, 0x1.8p-148, nan, 0x0p+0, 0)
249 T(RZ, 0x0p+0, 0x0p+0, 0x0p+0, 0x0p+0, 0)
250 T(RZ, 0x0p+0, 0x1p-149, 0x1p-149, 0x0p+0, 0)
251 T(RZ, 0x0p+0, 0x1.fffffcp-127, 0x1.fffffcp-127, 0x0p+0, 0)
252 T(RZ, 0x0p+0, 0x1p+0, 0x1p+0, 0x0p+0, 0)
253 T(RZ, 0x0p+0, 0x1p+127, 0x1p+127, 0x0p+0, 0)
254 T(RZ, 0x0p+0, 0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, 0)
255 T(RZ, 0x0p+0, inf, inf, 0x0p+0, 0)
256 T(RZ, 0x0p+0, -0x0p+0, 0x0p+0, 0x0p+0, 0)
257 T(RZ, 0x0p+0, -0x1p-149, 0x1p-149, 0x0p+0, 0)
258 T(RZ, 0x0p+0,-0x1.fffffcp-127, 0x1.fffffcp-127, 0x0p+0, 0)
259 T(RZ, 0x0p+0, -0x1p+0, 0x1p+0, 0x0p+0, 0)
260 T(RZ, 0x0p+0, -0x1p+127, 0x1p+127, 0x0p+0, 0)
261 T(RZ, 0x0p+0,-0x1.fffffep+127, 0x1.fffffep+127, 0x0p+0, 0)
262 T(RZ, 0x0p+0, -inf, inf, 0x0p+0, 0)
263 T(RZ, 0x1p-149, 0x0p+0, 0x1p-149, 0x0p+0, 0)
264 T(RZ, 0x1.fffffcp-127, 0x0p+0, 0x1.fffffcp-127, 0x0p+0, 0)
265 T(RZ, 0x1p+0, 0x0p+0, 0x1p+0, 0x0p+0, 0)
266 T(RZ, 0x1.8p+3, -0x1.4p+2, 0x1.ap+3, 0x0p+0, 0)
267 T(RZ, 0x1p+127, 0x0p+0, 0x1p+127, 0x0p+0, 0)
268 T(RZ, 0x1.fffffep+127, 0x0p+0, 0x1.fffffep+127, 0x0p+0, 0)
269 T(RZ, inf, 0x0p+0, inf, 0x0p+0, 0)
270 T(RZ, inf, nan, inf, 0x0p+0, 0)
271 T(RZ, inf, nan, inf, 0x0p+0, 0)
272 T(RZ, nan, inf, inf, 0x0p+0, 0)
273 T(RZ, nan, -inf, inf, 0x0p+0, 0)
274 T(RZ, -0x0p+0, 0x0p+0, 0x0p+0, 0x0p+0, 0)
275 T(RZ, -0x1p-149, 0x0p+0, 0x1p-149, 0x0p+0, 0)
276 T(RZ,-0x1.fffffcp-127, 0x0p+0, 0x1.fffffcp-127, 0x0p+0, 0)
277 T(RZ, -0x1p+0, 0x0p+0, 0x1p+0, 0x0p+0, 0)
278 T(RZ, -0x1.8p+1, -0x1p+2, 0x1.4p+2, 0x0p+0, 0)
279 T(RZ, -0x1.8p+4, 0x1.cp+2, 0x1.9p+4, 0x0p+0, 0)
280 T(RZ, -0x1p+127, 0x0p+0, 0x1p+127, 0x0p+0, 0)
281 T(RZ,-0x1.fffffep+127, 0x0p+0, 0x1.fffffep+127, 0x0p+0, 0)
282 T(RZ, -inf, 0x0p+0, inf, 0x0p+0, 0)
283 T(RZ, -inf, nan, inf, 0x0p+0, 0)
284 T(RZ, -inf, nan, inf, 0x0p+0, 0)
285 T(RZ, nan, inf, inf, 0x0p+0, 0)
286 T(RZ, 0x0p+0, nan, nan, 0x0p+0, 0)
287 T(RZ, 0x0p+0, nan, nan, 0x0p+0, 0)
288 T(RZ, 0x1p-149, nan, nan, 0x0p+0, 0)
289 T(RZ, 0x1.8p-148, nan, nan, 0x0p+0, 0)
290 T(RZ, nan, 0x0p+0, nan, 0x0p+0, 0)
291 T(RZ, nan, -0x1p-149, nan, 0x0p+0, 0)
292 T(RZ, nan, -0x1.8p-148, nan, 0x0p+0, 0)
293 T(RZ, -0x1p-149, nan, nan, 0x0p+0, 0)
294 T(RZ, -0x1.8p-148, nan, nan, 0x0p+0, 0)
295 T(RZ, nan, 0x0p+0, nan, 0x0p+0, 0)
296 T(RZ, nan, 0x1p-149, nan, 0x0p+0, 0)
297 T(RZ, nan, 0x1.8p-148, nan, 0x0p+0, 0)