initial commit
[libm] / test / io / ucb / tanhd.input
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. */
13 /*  */
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.   */
19 /*  */
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. */
25 /*  */
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. */
30 /*  */
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
38         /* tanhd(tiny)~tiny, tanhd(+-max or inf) = +-1 */
39 tanhd n eq - 0 0 0 0
40 tanhd n eq - 80000000 0 80000000 0
41 tanhd n eq x 0 1 0 1
42 tanhd n eq x 80000000 1 80000000 1
43 tanhd n eq x 1 0 1 0
44 tanhd n eq x 80000001 0 80000001 0
45 tanhd n eq x 00100000 0 00100000 0
46 tanhd n eq x 80100000 0 80100000 0
47 tanhd n eq x 3bc00000 0 3bc00000 0
48 tanhd n eq x bbc00000 0 bbc00000 0
49 tanhd n eq x 7fefffff ffffffff 3ff00000 0
50 tanhd n eq x ffefffff ffffffff bff00000 0
51 tanhd n eq - 7ff00000 0 3ff00000 0
52 tanhd n eq - fff00000 0 bff00000 0
53         /* random arguments between -9 9 */
54 tanhd n nb x c00358d5 b2b5006d bfef7f0d 680d65a0
55 tanhd n nb x 4019a3de fb825911 3feffff4 a6867060
56 tanhd n nb x 401fb23a 09de7505 3fefffff 73581933
57 tanhd n nb x c0180af4 fba96889 bfefffe6 c66ce5c3
58 tanhd n nb x c0038148 e27084dd bfef8402 4aed09ed
59 tanhd n nb x bfd6a1d6 1b093c41 bfd5bbd2 db600bb6
60 tanhd n nb x 4014d1e6 d18455f5 3fefff81 a052883a
61 tanhd n nb x 401ec87f 4a51b239 3fefffff 21f7f28d
62 tanhd n nb x bff833b1 1079de4d bfed0971 d00e2766
63 tanhd n nb x c0213e93 3103b871 bfefffff dd2ff3ac
64 tanhd z nb x c00358d5 b2b5006d bfef7f0d 680d65a0
65 tanhd z nb x 4019a3de fb825911 3feffff4 a6867060
66 tanhd z nb x 401fb23a 09de7505 3fefffff 73581933
67 tanhd z nb x c0180af4 fba96889 bfefffe6 c66ce5c3
68 tanhd z nb x c0038148 e27084dd bfef8402 4aed09ed
69 tanhd z nb x bfd6a1d6 1b093c41 bfd5bbd2 db600bb6
70 tanhd z nb x 4014d1e6 d18455f5 3fefff81 a052883a
71 tanhd z nb x 401ec87f 4a51b239 3fefffff 21f7f28d
72 tanhd z nb x bff833b1 1079de4d bfed0971 d00e2766
73 tanhd z nb x c0213e93 3103b871 bfefffff dd2ff3ac
74 tanhd p nb x c00358d5 b2b5006d bfef7f0d 680d65a0
75 tanhd p nb x 4019a3de fb825911 3feffff4 a6867060
76 tanhd p nb x 401fb23a 09de7505 3fefffff 73581933
77 tanhd p nb x c0180af4 fba96889 bfefffe6 c66ce5c3
78 tanhd p nb x c0038148 e27084dd bfef8402 4aed09ed
79 tanhd p nb x bfd6a1d6 1b093c41 bfd5bbd2 db600bb6
80 tanhd p nb x 4014d1e6 d18455f5 3fefff81 a052883a
81 tanhd p nb x 401ec87f 4a51b239 3fefffff 21f7f28d
82 tanhd p nb x bff833b1 1079de4d bfed0971 d00e2766
83 tanhd p nb x c0213e93 3103b871 bfefffff dd2ff3ac
84 tanhd m nb x c00358d5 b2b5006d bfef7f0d 680d65a0
85 tanhd m nb x 4019a3de fb825911 3feffff4 a6867060
86 tanhd m nb x 401fb23a 09de7505 3fefffff 73581933
87 tanhd m nb x c0180af4 fba96889 bfefffe6 c66ce5c3
88 tanhd m nb x c0038148 e27084dd bfef8402 4aed09ed
89 tanhd m nb x bfd6a1d6 1b093c41 bfd5bbd2 db600bb6
90 tanhd m nb x 4014d1e6 d18455f5 3fefff81 a052883a
91 tanhd m nb x 401ec87f 4a51b239 3fefffff 21f7f28d
92 tanhd m nb x bff833b1 1079de4d bfed0971 d00e2766
93 tanhd m nb x c0213e93 3103b871 bfefffff dd2ff3ac
94         /* tanhd(nan) is nan */
95 tanhd n uo v 7ff00000 1 0 0
96 tanhd n uo v 7ff00001 0 0 0
97 tanhd n uo - 7ff80000 0 0 0
98 tanhd m eq - 00000000 00000000 00000000 00000000
99 tanhd m eq - 7ff00000 00000000 3ff00000 00000000
100 tanhd m eq - 80000000 00000000 80000000 00000000
101 tanhd m eq - fff00000 00000000 bff00000 00000000
102 tanhd m uo - 7fffe000 00000000 7fffe000 00000000
103 tanhd m uo - ffffe000 00000000 ffffe000 00000000
104 tanhd m uo v 7ff02000 00000000 7fffe000 00000000
105 tanhd m uo v fff02000 00000000 ffffe000 00000000
106 tanhd m vn x 00100000 00000001 00100000 00000001
107 tanhd m vn x 00100000 00000002 00100000 00000002
108 tanhd m vn x 00200000 00000000 00200000 00000000
109 tanhd m vn x 00300000 00000000 00300000 00000000
110 tanhd m vn x 3e300000 00000000 3e300000 00000000
111 tanhd m vn x 3e400000 00000000 3e400000 00000000
112 tanhd m vn x 3e480000 00000000 3e480000 00000000
113 tanhd m vn x 3e500000 00000000 3e4fffff ffffffff
114 tanhd m vn x 3e540000 00000000 3e53ffff ffffffff
115 tanhd m vn x 3e580000 00000000 3e57ffff ffffffff
116 tanhd m vn x 40863400 00000000 3ff00000 00000000
117 tanhd m vn x 7fd00000 00000000 3ff00000 00000000
118 tanhd m vn x 7fe00000 00000000 3ff00000 00000000
119 tanhd m vn x 7fefffff fffffffe 3ff00000 00000000
120 tanhd m vn x 7fefffff ffffffff 3ff00000 00000000
121 tanhd m vn x 80100000 00000001 80100000 00000001
122 tanhd m vn x 80100000 00000002 80100000 00000002
123 tanhd m vn x 80200000 00000000 80200000 00000000
124 tanhd m vn x 80300000 00000000 80300000 00000000
125 tanhd m vn x be300000 00000000 be300000 00000000
126 tanhd m vn x be400000 00000000 be400000 00000000
127 tanhd m vn x be480000 00000000 be480000 00000000
128 tanhd m vn x be500000 00000000 be4fffff ffffffff
129 tanhd m vn x be540000 00000000 be53ffff ffffffff
130 tanhd m vn x be580000 00000000 be57ffff ffffffff
131 tanhd m vn x c0863400 00000000 bff00000 00000000
132 tanhd m vn x ffd00000 00000000 bff00000 00000000
133 tanhd m vn x ffe00000 00000000 bff00000 00000000
134 tanhd m vn x ffefffff fffffffe bff00000 00000000
135 tanhd m vn x ffefffff ffffffff bff00000 00000000
136 tanhd m vn x?u 00000000 00000001 00000000 00000001
137 tanhd m vn x?u 00000000 00000002 00000000 00000002
138 tanhd m vn x?u 00040000 00000000 00040000 00000000
139 tanhd m vn x?u 00080000 00000000 00080000 00000000
140 tanhd m vn x?u 000fffff fffffffe 000fffff fffffffe
141 tanhd m vn x?u 000fffff ffffffff 000fffff ffffffff
142 tanhd m vn x?u 00100000 00000000 00100000 00000000
143 tanhd m vn x?u 80000000 00000001 80000000 00000001
144 tanhd m vn x?u 80000000 00000002 80000000 00000002
145 tanhd m vn x?u 80040000 00000000 80040000 00000000
146 tanhd m vn x?u 80080000 00000000 80080000 00000000
147 tanhd m vn x?u 800fffff fffffffe 800fffff fffffffe
148 tanhd m vn x?u 800fffff ffffffff 800fffff ffffffff
149 tanhd m vn x?u 80100000 00000000 80100000 00000000
150 tanhd n eq x 00100000 00000001 00100000 00000001
151 tanhd n eq x 00100000 00000002 00100000 00000002
152 tanhd n eq x 00200000 00000000 00200000 00000000
153 tanhd n eq x 00300000 00000000 00300000 00000000
154 tanhd n eq x 3e300000 00000000 3e300000 00000000
155 tanhd n eq x 3e400000 00000000 3e400000 00000000
156 tanhd n eq x 3e480000 00000000 3e480000 00000000
157 tanhd n eq x 3e500000 00000000 3e4fffff ffffffff
158 tanhd n eq x 3e540000 00000000 3e53ffff ffffffff
159 tanhd n eq x 3e580000 00000000 3e57ffff ffffffff
160 tanhd n eq x 40863400 00000000 3ff00000 00000000
161 tanhd n eq x 7fd00000 00000000 3ff00000 00000000
162 tanhd n eq x 7fe00000 00000000 3ff00000 00000000
163 tanhd n eq x 7fefffff fffffffe 3ff00000 00000000
164 tanhd n eq x 80100000 00000001 80100000 00000001
165 tanhd n eq x 80100000 00000002 80100000 00000002
166 tanhd n eq x 80200000 00000000 80200000 00000000
167 tanhd n eq x 80300000 00000000 80300000 00000000
168 tanhd n eq x be300000 00000000 be300000 00000000
169 tanhd n eq x be400000 00000000 be400000 00000000
170 tanhd n eq x be480000 00000000 be480000 00000000
171 tanhd n eq x be500000 00000000 be4fffff ffffffff
172 tanhd n eq x be540000 00000000 be53ffff ffffffff
173 tanhd n eq x be580000 00000000 be57ffff ffffffff
174 tanhd n eq x c0863400 00000000 bff00000 00000000
175 tanhd n eq x ffd00000 00000000 bff00000 00000000
176 tanhd n eq x ffe00000 00000000 bff00000 00000000
177 tanhd n eq x ffefffff fffffffe bff00000 00000000
178 tanhd n eq x?u 00000000 00000002 00000000 00000002
179 tanhd n eq x?u 00040000 00000000 00040000 00000000
180 tanhd n eq x?u 00080000 00000000 00080000 00000000
181 tanhd n eq x?u 000fffff fffffffe 000fffff fffffffe
182 tanhd n eq x?u 000fffff ffffffff 000fffff ffffffff
183 tanhd n eq x?u 80000000 00000002 80000000 00000002
184 tanhd n eq x?u 80040000 00000000 80040000 00000000
185 tanhd n eq x?u 80080000 00000000 80080000 00000000
186 tanhd n eq x?u 800fffff fffffffe 800fffff fffffffe
187 tanhd n eq x?u 800fffff ffffffff 800fffff ffffffff
188 tanhd n uo - 7ff80000 00000000 00000000 00000000
189 tanhd n uo - 7fffe000 00000000 7fffe000 00000000
190 tanhd n uo - ffffe000 00000000 ffffe000 00000000
191 tanhd n uo v 7ff00000 00000001 00000000 00000000
192 tanhd n uo v 7ff00001 00000000 00000000 00000000
193 tanhd n uo v 7ff02000 00000000 7fffe000 00000000
194 tanhd n uo v fff02000 00000000 ffffe000 00000000
195 tanhd p eq - 00000000 00000000 00000000 00000000
196 tanhd p eq - 7ff00000 00000000 3ff00000 00000000
197 tanhd p eq - 80000000 00000000 80000000 00000000
198 tanhd p eq - fff00000 00000000 bff00000 00000000
199 tanhd p uo - 7fffe000 00000000 7fffe000 00000000
200 tanhd p uo - ffffe000 00000000 ffffe000 00000000
201 tanhd p uo v 7ff02000 00000000 7fffe000 00000000
202 tanhd p uo v fff02000 00000000 ffffe000 00000000
203 tanhd p vn x 00100000 00000001 00100000 00000001
204 tanhd p vn x 00100000 00000002 00100000 00000002
205 tanhd p vn x 00200000 00000000 00200000 00000000
206 tanhd p vn x 00300000 00000000 00300000 00000000
207 tanhd p vn x 3e300000 00000000 3e300000 00000000
208 tanhd p vn x 3e400000 00000000 3e400000 00000000
209 tanhd p vn x 3e480000 00000000 3e480000 00000000
210 tanhd p vn x 3e500000 00000000 3e4fffff ffffffff
211 tanhd p vn x 3e540000 00000000 3e53ffff ffffffff
212 tanhd p vn x 3e580000 00000000 3e57ffff ffffffff
213 tanhd p vn x 40863400 00000000 3ff00000 00000000
214 tanhd p vn x 7fd00000 00000000 3ff00000 00000000
215 tanhd p vn x 7fe00000 00000000 3ff00000 00000000
216 tanhd p vn x 7fefffff fffffffe 3ff00000 00000000
217 tanhd p vn x 7fefffff ffffffff 3ff00000 00000000
218 tanhd p vn x 80100000 00000001 80100000 00000001
219 tanhd p vn x 80100000 00000002 80100000 00000002
220 tanhd p vn x 80200000 00000000 80200000 00000000
221 tanhd p vn x 80300000 00000000 80300000 00000000
222 tanhd p vn x be300000 00000000 be300000 00000000
223 tanhd p vn x be400000 00000000 be400000 00000000
224 tanhd p vn x be480000 00000000 be480000 00000000
225 tanhd p vn x be500000 00000000 be4fffff ffffffff
226 tanhd p vn x be540000 00000000 be53ffff ffffffff
227 tanhd p vn x be580000 00000000 be57ffff ffffffff
228 tanhd p vn x c0863400 00000000 bff00000 00000000
229 tanhd p vn x ffd00000 00000000 bff00000 00000000
230 tanhd p vn x ffe00000 00000000 bff00000 00000000
231 tanhd p vn x ffefffff fffffffe bff00000 00000000
232 tanhd p vn x ffefffff ffffffff bff00000 00000000
233 tanhd p vn x?u 00000000 00000001 00000000 00000001
234 tanhd p vn x?u 00000000 00000002 00000000 00000002
235 tanhd p vn x?u 00040000 00000000 00040000 00000000
236 tanhd p vn x?u 00080000 00000000 00080000 00000000
237 tanhd p vn x?u 000fffff fffffffe 000fffff fffffffe
238 tanhd p vn x?u 000fffff ffffffff 000fffff ffffffff
239 tanhd p vn x?u 00100000 00000000 00100000 00000000
240 tanhd p vn x?u 80000000 00000001 80000000 00000001
241 tanhd p vn x?u 80000000 00000002 80000000 00000002
242 tanhd p vn x?u 80040000 00000000 80040000 00000000
243 tanhd p vn x?u 80080000 00000000 80080000 00000000
244 tanhd p vn x?u 800fffff fffffffe 800fffff fffffffe
245 tanhd p vn x?u 800fffff ffffffff 800fffff ffffffff
246 tanhd p vn x?u 80100000 00000000 80100000 00000000
247 tanhd z eq - 00000000 00000000 00000000 00000000
248 tanhd z eq - 7ff00000 00000000 3ff00000 00000000
249 tanhd z eq - 80000000 00000000 80000000 00000000
250 tanhd z eq - fff00000 00000000 bff00000 00000000
251 tanhd z uo - 7fffe000 00000000 7fffe000 00000000
252 tanhd z uo - ffffe000 00000000 ffffe000 00000000
253 tanhd z uo v 7ff02000 00000000 7fffe000 00000000
254 tanhd z uo v fff02000 00000000 ffffe000 00000000
255 tanhd z vn x 00100000 00000001 00100000 00000001
256 tanhd z vn x 00100000 00000002 00100000 00000002
257 tanhd z vn x 00200000 00000000 00200000 00000000
258 tanhd z vn x 00300000 00000000 00300000 00000000
259 tanhd z vn x 3e300000 00000000 3e300000 00000000
260 tanhd z vn x 3e400000 00000000 3e400000 00000000
261 tanhd z vn x 3e480000 00000000 3e480000 00000000
262 tanhd z vn x 3e500000 00000000 3e4fffff ffffffff
263 tanhd z vn x 3e540000 00000000 3e53ffff ffffffff
264 tanhd z vn x 3e580000 00000000 3e57ffff ffffffff
265 tanhd z vn x 40863400 00000000 3ff00000 00000000
266 tanhd z vn x 7fd00000 00000000 3ff00000 00000000
267 tanhd z vn x 7fe00000 00000000 3ff00000 00000000
268 tanhd z vn x 7fefffff fffffffe 3ff00000 00000000
269 tanhd z vn x 7fefffff ffffffff 3ff00000 00000000
270 tanhd z vn x 80100000 00000001 80100000 00000001
271 tanhd z vn x 80100000 00000002 80100000 00000002
272 tanhd z vn x 80200000 00000000 80200000 00000000
273 tanhd z vn x 80300000 00000000 80300000 00000000
274 tanhd z vn x be300000 00000000 be300000 00000000
275 tanhd z vn x be400000 00000000 be400000 00000000
276 tanhd z vn x be480000 00000000 be480000 00000000
277 tanhd z vn x be500000 00000000 be4fffff ffffffff
278 tanhd z vn x be540000 00000000 be53ffff ffffffff
279 tanhd z vn x be580000 00000000 be57ffff ffffffff
280 tanhd z vn x c0863400 00000000 bff00000 00000000
281 tanhd z vn x ffd00000 00000000 bff00000 00000000
282 tanhd z vn x ffe00000 00000000 bff00000 00000000
283 tanhd z vn x ffefffff fffffffe bff00000 00000000
284 tanhd z vn x ffefffff ffffffff bff00000 00000000
285 tanhd z vn x?u 00000000 00000001 00000000 00000001
286 tanhd z vn x?u 00000000 00000002 00000000 00000002
287 tanhd z vn x?u 00040000 00000000 00040000 00000000
288 tanhd z vn x?u 00080000 00000000 00080000 00000000
289 tanhd z vn x?u 000fffff fffffffe 000fffff fffffffe
290 tanhd z vn x?u 000fffff ffffffff 000fffff ffffffff
291 tanhd z vn x?u 00100000 00000000 00100000 00000000
292 tanhd z vn x?u 80000000 00000001 80000000 00000001
293 tanhd z vn x?u 80000000 00000002 80000000 00000002
294 tanhd z vn x?u 80040000 00000000 80040000 00000000
295 tanhd z vn x?u 80080000 00000000 80080000 00000000
296 tanhd z vn x?u 800fffff fffffffe 800fffff fffffffe
297 tanhd z vn x?u 800fffff ffffffff 800fffff ffffffff
298 tanhd z vn x?u 80100000 00000000 80100000 00000000