initial commit
[libm] / test / io / ucb / tans.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         /* tans(+-max) */ 
39 tans n le x 7f7fffff 7f800000
40 tans n ge x 7f7fffff ff800000
41 tans z le x 7f7fffff 7f800000
42 tans z ge x 7f7fffff ff800000
43 tans p le x 7f7fffff 7f800000
44 tans p ge x 7f7fffff ff800000
45 tans m le x 7f7fffff 7f800000
46 tans m ge x 7f7fffff ff800000
47         /* tans(tiny) is tiny */
48 tans n eq x 31000000 31000000
49 tans n eq x b1000000 b1000000
50 tans n eq x 00800000 00800000
51 tans n eq x 80800000 80800000
52 tans n eq x 1 1
53 tans n eq x 80000001 80000001
54         /* tans(+-0) is +-0.0 */
55 tans n eq - 0 0
56 tans n eq - 80000000 80000000
57 tans z eq - 0 0
58 tans z eq - 80000000 80000000
59 tans p eq - 0 0
60 tans p eq - 80000000 80000000
61 tans m eq - 0 0
62 tans m eq - 80000000 80000000
63         /* tans(nan or inf) is nan */
64 tans n uo v 7f800000 0
65 tans n uo v ff800000 0
66 tans n uo v 7f800001 0
67 tans n uo v ff800001 0
68 tans n uo - 7fc00000 0
69 tans m eq x 00800000 00800000
70 tans m eq x 00800001 00800001
71 tans m eq x 00800002 00800002
72 tans m eq x 00fffffb 00fffffb
73 tans m eq x 01000000 01000000
74 tans m eq x 01000003 01000003
75 tans m eq x 01800000 01800000
76 tans m eq x 32400000 32400000
77 tans m eq x 32800000 32800000
78 tans m eq x 39800000 39800000
79 tans m eq x?u 00000001 00000001
80 tans m eq x?u 00000002 00000002
81 tans m eq x?u 00000009 00000009
82 tans m eq x?u 00200000 00200000
83 tans m eq x?u 00400000 00400000
84 tans m eq x?u 007ffffe 007ffffe
85 tans m eq x?u 007fffff 007fffff
86 tans m uo - 7fff0000 7fff0000
87 tans m uo - ffff0000 ffff0000
88 tans m uo v 7f800000 7fff0000
89 tans m uo v 7f810000 7fff0000
90 tans m uo v ff800000 7fff0000
91 tans m uo v ff810000 ffff0000
92 tans m vn x 80800000 80800000
93 tans m vn x 80800001 80800001
94 tans m vn x 80800002 80800002
95 tans m vn x 81000000 81000000
96 tans m vn x 81800000 81800000
97 tans m vn x b2400000 b2400000
98 tans m vn x b2800000 b2800000
99 tans m vn x b9800000 b9800000
100 tans m vn x?u 80000001 80000001
101 tans m vn x?u 80000002 80000002
102 tans m vn x?u 80200000 80200000
103 tans m vn x?u 80400000 80400000
104 tans m vn x?u 807ffffe 807ffffe
105 tans m vn x?u 807fffff 807fffff
106 tans n eq x 00800001 00800001
107 tans n eq x 00800002 00800002
108 tans n eq x 00fffffb 00fffffb
109 tans n eq x 01000000 01000000
110 tans n eq x 01000003 01000003
111 tans n eq x 01800000 01800000
112 tans n eq x 32400000 32400000
113 tans n eq x 32800000 32800000
114 tans n eq x 39800000 39800000
115 tans n eq x 80800001 80800001
116 tans n eq x 80800002 80800002
117 tans n eq x 80fffffb 80fffffb
118 tans n eq x 81000000 81000000
119 tans n eq x 81000003 81000003
120 tans n eq x 81800000 81800000
121 tans n eq x b2400000 b2400000
122 tans n eq x b2800000 b2800000
123 tans n eq x b9800000 b9800000
124 tans n eq x?u 00000002 00000002
125 tans n eq x?u 00000009 00000009
126 tans n eq x?u 00200000 00200000
127 tans n eq x?u 00400000 00400000
128 tans n eq x?u 007ffffe 007ffffe
129 tans n eq x?u 007fffff 007fffff
130 tans n eq x?u 80000002 80000002
131 tans n eq x?u 80000009 80000009
132 tans n eq x?u 80200000 80200000
133 tans n eq x?u 80400000 80400000
134 tans n eq x?u 807ffffe 807ffffe
135 tans n eq x?u 807fffff 807fffff
136 tans n uo - 7fc00000 00000000
137 tans n uo - 7fff0000 7fff0000
138 tans n uo - ffff0000 ffff0000
139 tans n uo v 7f800000 00000000
140 tans n uo v 7f800001 00000000
141 tans n uo v 7f810000 7fff0000
142 tans n uo v ff800000 00000000
143 tans n uo v ff800001 00000000
144 tans n uo v ff810000 ffff0000
145 tans p eq x 80800000 80800000
146 tans p eq x 80800001 80800001
147 tans p eq x 80800002 80800002
148 tans p eq x 80fffffb 80fffffb
149 tans p eq x 81000000 81000000
150 tans p eq x 81000003 81000003
151 tans p eq x 81800000 81800000
152 tans p eq x b2400000 b2400000
153 tans p eq x b2800000 b2800000
154 tans p eq x b9800000 b9800000
155 tans p eq x?u 80000001 80000001
156 tans p eq x?u 80000002 80000002
157 tans p eq x?u 80000009 80000009
158 tans p eq x?u 80200000 80200000
159 tans p eq x?u 80400000 80400000
160 tans p eq x?u 807ffffe 807ffffe
161 tans p eq x?u 807fffff 807fffff
162 tans p uo - 7fff0000 7fff0000
163 tans p uo - ffff0000 ffff0000
164 tans p uo v 7f800000 7fff0000
165 tans p uo v 7f810000 7fff0000
166 tans p uo v ff800000 7fff0000
167 tans p uo v ff810000 ffff0000
168 tans p vn x 00800000 00800000
169 tans p vn x 00800001 00800001
170 tans p vn x 00800002 00800002
171 tans p vn x 01000000 01000000
172 tans p vn x 01800000 01800000
173 tans p vn x 32400000 32400000
174 tans p vn x 32800000 32800000
175 tans p vn x 39800000 39800000
176 tans p vn x?u 00000001 00000001
177 tans p vn x?u 00000002 00000002
178 tans p vn x?u 00200000 00200000
179 tans p vn x?u 00400000 00400000
180 tans p vn x?u 007ffffe 007ffffe
181 tans p vn x?u 007fffff 007fffff
182 tans z eq x 00800000 00800000
183 tans z eq x 00800001 00800001
184 tans z eq x 00800002 00800002
185 tans z eq x 00fffffb 00fffffb
186 tans z eq x 01000000 01000000
187 tans z eq x 01000003 01000003
188 tans z eq x 01800000 01800000
189 tans z eq x 32400000 32400000
190 tans z eq x 32800000 32800000
191 tans z eq x 39800000 39800000
192 tans z eq x 80800000 80800000
193 tans z eq x 80800001 80800001
194 tans z eq x 80800002 80800002
195 tans z eq x 80fffffb 80fffffb
196 tans z eq x 81000000 81000000
197 tans z eq x 81000003 81000003
198 tans z eq x 81800000 81800000
199 tans z eq x b2400000 b2400000
200 tans z eq x b2800000 b2800000
201 tans z eq x b9800000 b9800000
202 tans z eq x?u 00000001 00000001
203 tans z eq x?u 00000002 00000002
204 tans z eq x?u 00000009 00000009
205 tans z eq x?u 00200000 00200000
206 tans z eq x?u 00400000 00400000
207 tans z eq x?u 007ffffe 007ffffe
208 tans z eq x?u 007fffff 007fffff
209 tans z eq x?u 80000001 80000001
210 tans z eq x?u 80000002 80000002
211 tans z eq x?u 80000009 80000009
212 tans z eq x?u 80200000 80200000
213 tans z eq x?u 80400000 80400000
214 tans z eq x?u 807ffffe 807ffffe
215 tans z eq x?u 807fffff 807fffff
216 tans z uo - 7fff0000 7fff0000
217 tans z uo - ffff0000 ffff0000
218 tans z uo v 7f800000 7fff0000
219 tans z uo v 7f810000 7fff0000
220 tans z uo v ff800000 7fff0000
221 tans z uo v ff810000 ffff0000