initial commit
[libm] / test / io / ucb / atans.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         /* atans(+-max) is +-pi/2 */
39 atans n eq x 7f7fffff 3fc90fdb
40 atans n eq x ff7fffff bfc90fdb
41         /* atans(+-1) is +-pi/4 */
42 atans n eq x 3f800000 3f490fdb
43 atans n eq x bf800000 bf490fdb
44         /* atans(tiny) is tiny */
45 atans n eq x 31000000 31000000
46 atans n eq x b1000000 b1000000
47 atans n eq x 00800000 00800000
48 atans n eq x 80800000 80800000
49 atans z vn x 31000000 31000000
50 atans z vn x b1000000 b1000000
51 atans z vn x 00800000 00800000
52 atans z vn x 80800000 80800000
53 atans p vn x 31000000 31000000
54 atans p vn x b1000000 b1000000
55 atans p vn x 00800000 00800000
56 atans p vn x 80800000 80800000
57 atans m vn x 31000000 31000000
58 atans m vn x b1000000 b1000000
59 atans m vn x 00800000 00800000
60 atans m vn x 80800000 80800000
61         /* atans(+-0) is +-0 */
62 atans n eq - 0 0
63 atans n eq - 80000000 80000000
64 atans z eq - 0 0
65 atans z eq - 80000000 80000000
66 atans p eq - 0 0
67 atans p eq - 80000000 80000000
68 atans m eq - 0 0
69 atans m eq - 80000000 80000000
70         /* random arguments between -2 and 2 */
71 atans n vn x bf099426 befc7bae
72 atans n vn x 3fb65470 3f756e37
73 atans n vn x 3fe16530 3f86f3fc
74 atans n vn x bfaaf890 bf6d9b3e
75 atans n vn x bf0ab3cf befe3942
76 atans n vn x bda0f099 bda09c1a
77 atans n vn x 3f940d87 3f5ba021
78 atans n vn x 3fdae71a 3f8555ac
79 atans n vn x beac1a41 bea6070a
80 atans n vn x bff54112 bf8b7dce
81 atans z nb x bf099426 befc7bae
82 atans z nb x 3fb65470 3f756e37
83 atans z nb x 3fe16530 3f86f3fc
84 atans z nb x bfaaf890 bf6d9b3e
85 atans z nb x bf0ab3cf befe3942
86 atans z nb x bda0f099 bda09c1a
87 atans z nb x 3f940d87 3f5ba021
88 atans z nb x 3fdae71a 3f8555ac
89 atans z nb x beac1a41 bea6070a
90 atans z nb x bff54112 bf8b7dce
91 atans p nb x bf099426 befc7bae
92 atans p nb x 3fb65470 3f756e37
93 atans p nb x 3fe16530 3f86f3fc
94 atans p nb x bfaaf890 bf6d9b3e
95 atans p nb x bf0ab3cf befe3942
96 atans p nb x bda0f099 bda09c1a
97 atans p nb x 3f940d87 3f5ba021
98 atans p nb x 3fdae71a 3f8555ac
99 atans p nb x beac1a41 bea6070a
100 atans p nb x bff54112 bf8b7dce
101 atans m nb x bf099426 befc7bae
102 atans m nb x 3fb65470 3f756e37
103 atans m nb x 3fe16530 3f86f3fc
104 atans m nb x bfaaf890 bf6d9b3e
105 atans m nb x bf0ab3cf befe3942
106 atans m nb x bda0f099 bda09c1a
107 atans m nb x 3f940d87 3f5ba021
108 atans m nb x 3fdae71a 3f8555ac
109 atans m nb x beac1a41 bea6070a
110 atans m nb x bff54112 bf8b7dce
111         /* atans(+-inf) is +-pi/2 */
112 atans n eq x 7f800000 3fc90fdb
113 atans n eq x ff800000 bfc90fdb
114         /* atans(nan) is nan */
115 atans n uo v 7f800001 0
116 atans n uo - ffc00000 0
117 atans z uo v 7f800001 0
118 atans z uo - ffc00000 0
119 atans p uo v 7f800001 0
120 atans p uo - ffc00000 0
121 atans m uo v 7f800001 0
122 atans m uo - ffc00000 0
123 atans m eq x 00800000 00800000
124 atans m eq x 00800001 00800001
125 atans m eq x 00800002 00800002
126 atans m eq x 01000000 01000000
127 atans m eq x 01800000 01800000
128 atans m eq x 80800000 80800000
129 atans m eq x 80800001 80800001
130 atans m eq x 80800002 80800002
131 atans m eq x 80fffffb 80fffffb
132 atans m eq x 81000000 81000000
133 atans m eq x 81000003 81000003
134 atans m eq x 81800000 81800000
135 atans m eq x?u 00000001 00000001
136 atans m eq x?u 00000002 00000002
137 atans m eq x?u 00200000 00200000
138 atans m eq x?u 00400000 00400000
139 atans m eq x?u 007ffffe 007ffffe
140 atans m eq x?u 007fffff 007fffff
141 atans m eq x?u 80000001 80000001
142 atans m eq x?u 80000002 80000002
143 atans m eq x?u 80000009 80000009
144 atans m eq x?u 80200000 80200000
145 atans m eq x?u 80400000 80400000
146 atans m eq x?u 807ffffe 807ffffe
147 atans m eq x?u 807fffff 807fffff
148 atans m uo - ffc00000 00000000
149 atans m uo - ffff0000 ffff0000
150 atans m uo v 7f800001 00000000
151 atans m uo v 7f810000 7fff0000
152 atans m uo v ff810000 ffff0000
153 atans m vn x 32400000 32400000
154 atans m vn x 39800000 39800000
155 atans m vn x b2400000 b2400000
156 atans m vn x b9800000 b9800000
157 atans n eq x 00800001 00800001
158 atans n eq x 00800002 00800002
159 atans n eq x 00fffffb 00fffffb
160 atans n eq x 01000000 01000000
161 atans n eq x 01000003 01000003
162 atans n eq x 01800000 01800000
163 atans n eq x 32400000 32400000
164 atans n eq x 39800000 39800000
165 atans n eq x 80800001 80800001
166 atans n eq x 80800002 80800002
167 atans n eq x 80fffffb 80fffffb
168 atans n eq x 81000000 81000000
169 atans n eq x 81000003 81000003
170 atans n eq x 81800000 81800000
171 atans n eq x b2400000 b2400000
172 atans n eq x b9800000 b9800000
173 atans n eq x?u 00000001 00000001
174 atans n eq x?u 00000002 00000002
175 atans n eq x?u 00000009 00000009
176 atans n eq x?u 00200000 00200000
177 atans n eq x?u 00400000 00400000
178 atans n eq x?u 007ffffe 007ffffe
179 atans n eq x?u 007fffff 007fffff
180 atans n eq x?u 80000001 80000001
181 atans n eq x?u 80000002 80000002
182 atans n eq x?u 80000009 80000009
183 atans n eq x?u 80200000 80200000
184 atans n eq x?u 80400000 80400000
185 atans n eq x?u 807ffffe 807ffffe
186 atans n eq x?u 807fffff 807fffff
187 atans n uo - ffc00000 00000000
188 atans n uo - ffff0000 ffff0000
189 atans n uo v 7f800001 00000000
190 atans n uo v 7f810000 7fff0000
191 atans n uo v ff810000 ffff0000
192 atans p eq x 00800000 00800000
193 atans p eq x 00800001 00800001
194 atans p eq x 00800002 00800002
195 atans p eq x 00fffffb 00fffffb
196 atans p eq x 01000000 01000000
197 atans p eq x 01000003 01000003
198 atans p eq x 01800000 01800000
199 atans p eq x 80800000 80800000
200 atans p eq x 80800001 80800001
201 atans p eq x 80800002 80800002
202 atans p eq x 81000000 81000000
203 atans p eq x 81800000 81800000
204 atans p eq x?u 00000001 00000001
205 atans p eq x?u 00000002 00000002
206 atans p eq x?u 00000009 00000009
207 atans p eq x?u 00200000 00200000
208 atans p eq x?u 00400000 00400000
209 atans p eq x?u 007ffffe 007ffffe
210 atans p eq x?u 007fffff 007fffff
211 atans p eq x?u 80000001 80000001
212 atans p eq x?u 80000002 80000002
213 atans p eq x?u 80200000 80200000
214 atans p eq x?u 80400000 80400000
215 atans p eq x?u 807ffffe 807ffffe
216 atans p eq x?u 807fffff 807fffff
217 atans p uo - 7fff0000 7fff0000
218 atans p uo - ffc00000 00000000
219 atans p uo - ffff0000 ffff0000
220 atans p uo v 7f800001 00000000
221 atans p uo v 7f810000 7fff0000
222 atans p uo v ff810000 ffff0000
223 atans p vn x 32400000 32400000
224 atans p vn x 39800000 39800000
225 atans p vn x b2400000 b2400000
226 atans p vn x b9800000 b9800000
227 atans z eq x 00800000 00800000
228 atans z eq x 00800001 00800001
229 atans z eq x 00800002 00800002
230 atans z eq x 01000000 01000000
231 atans z eq x 01800000 01800000
232 atans z eq x 80800000 80800000
233 atans z eq x 80800001 80800001
234 atans z eq x 80800002 80800002
235 atans z eq x 81000000 81000000
236 atans z eq x 81800000 81800000
237 atans z eq x?u 00000001 00000001
238 atans z eq x?u 00000002 00000002
239 atans z eq x?u 00200000 00200000
240 atans z eq x?u 00400000 00400000
241 atans z eq x?u 007ffffe 007ffffe
242 atans z eq x?u 007fffff 007fffff
243 atans z eq x?u 80000001 80000001
244 atans z eq x?u 80000002 80000002
245 atans z eq x?u 80200000 80200000
246 atans z eq x?u 80400000 80400000
247 atans z eq x?u 807ffffe 807ffffe
248 atans z eq x?u 807fffff 807fffff
249 atans z uo - 7fff0000 7fff0000
250 atans z uo - ffc00000 00000000
251 atans z uo - ffff0000 ffff0000
252 atans z uo v 7f800001 00000000
253 atans z uo v 7f810000 7fff0000
254 atans z uo v ff810000 ffff0000
255 atans z vn x 32400000 32400000
256 atans z vn x 39800000 39800000
257 atans z vn x b2400000 b2400000
258 atans z vn x b9800000 b9800000