Allow strptime read outputs from strftime. Fixes bug 4772.
[glibc.git] / math / auto-libm-test-in
blob4c07c4fc4becac74848067504207b86a33b7bbb6
1 # libm test inputs for gen-auto-libm-tests.c.
2 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
3 # This file is part of the GNU C Library.
5 # The GNU C Library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License, or (at your option) any later version.
10 # The GNU C Library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with the GNU C Library; if not, see
17 # <http://www.gnu.org/licenses/>.  */
19 acos 0
20 acos -0
21 acos 1
22 acos -1
23 acos 0.5
24 acos -0.5
25 acos 0.75
26 acos 2e-17
27 acos 0.0625
28 acos 0x0.ffffffp0
29 acos -0x0.ffffffp0
30 acos 0x0.ffffffff8p0
31 acos -0x0.ffffffff8p0
32 acos 0x0.ffffffffffffp0
33 acos -0x0.ffffffffffffp0
34 acos 0x0.ffffffffffffffffp0
35 acos -0x0.ffffffffffffffffp0
37 acosh 1
38 acosh 7
40 asin 0
41 asin -0
42 asin 0.5
43 asin -0.5
44 asin 1.0
45 asin -1.0
46 asin 0.75
47 asin 0x0.ffffffp0
48 asin -0x0.ffffffp0
49 asin 0x0.ffffffff8p0
50 asin -0x0.ffffffff8p0
51 asin 0x0.ffffffffffffp0
52 asin -0x0.ffffffffffffp0
53 asin 0x0.ffffffffffffffffp0
54 asin -0x0.ffffffffffffffffp0
56 asinh 0
57 asinh -0
58 asinh 0.75
60 atan 0
61 atan -0
62 atan max
63 atan -max
64 atan 1
65 atan -1
66 atan 0.75
67 # Bug 15319: underflow exception may be missing.
68 atan 0x1p-100 missing-underflow
69 atan 0x1p-600 missing-underflow
70 atan 0x1p-10000 missing-underflow
72 atanh 0
73 atanh -0
74 atanh 0.75
76 cbrt 0.0
77 cbrt -0
78 cbrt -0.001
79 cbrt 8
80 cbrt -27.0
81 cbrt 0.9921875
82 cbrt 0.75
83 cbrt 0x1p16383
84 cbrt 0x1p-16383
86 cos 0
87 cos -0
88 cos pi/3
89 cos 2pi/3
90 cos pi/2
91 cos 0.75
92 cos 0x1p65
93 cos -0x1p65
94 cos 0.80190127184058835
95 cos 0x1.442f74p+15
96 cos 1e22
97 cos 0x1p1023
98 cos 0x1p16383
99 cos 0x1p+120
100 cos 0x1p+127
101 cos 0x1.fffff8p+127
102 cos 0x1.fffffep+127
103 cos 0x1p+50
104 cos 0x1p+28
105 cos 0x1.000000cf4a2a2p0
106 cos 0x1.0000010b239a9p0
107 cos 0x1.00000162a932bp0
108 cos 0x1.000002d452a10p0
109 cos 0x1.000005bc7d86dp0
110 cos 1
111 cos 2
112 cos 3
113 cos 4
114 cos 5
115 cos 6
116 cos 7
117 cos 8
118 cos 9
119 cos 10
121 cosh 0
122 cosh -0
123 cosh 0.75
124 cosh 709.8893558127259666434838436543941497802734375
125 cosh -709.8893558127259666434838436543941497802734375
126 cosh 22
127 cosh 23
128 cosh 24
130 erf 0
131 erf -0
132 erf 0.125
133 erf 0.75
134 erf 1.25
135 erf 2.0
136 erf 4.125
137 erf 27.0
138 erf -27.0
139 erf -0x1.fffffffffffff8p-2
141 erfc 0.0
142 erfc -0
143 erfc 0.125
144 erfc 0.75
145 erfc 1.25
146 erfc 2.0
147 erfc 0x1.f7303cp+1
148 erfc 4.125
149 erfc 0x1.ffa002p+2
150 erfc 0x1.ffffc8p+2
151 erfc -0x1.fffffffffffff8p-2
152 erfc 26.0
153 erfc 27.0
154 erfc 28.0
155 erfc 0x1.ffff56789abcdef0123456789a8p+2
156 erfc 100
157 erfc 106
158 erfc 106.5
159 erfc 106.625
160 erfc 107
161 erfc 108
162 erfc 1000
163 erfc max
165 exp 0
166 exp -0
167 exp 1
168 exp 2
169 exp 3
170 exp 0.75
171 exp 50.0
172 exp 88.72269439697265625
173 exp 709.75
174 # Bug 16284: results on directed rounding may be incorrect.
175 exp 1000.0 xfail-rounding:dbl-64
176 exp 710 xfail-rounding:dbl-64
177 exp -1234
178 # Bug 16284: results on directed rounding may be incorrect.
179 exp 1e5 xfail-rounding:dbl-64
180 exp max xfail-rounding:dbl-64
181 exp -7.4444006192138124e+02
182 exp -0x1.75f113c30b1c8p+9
183 exp -max
185 exp10 0
186 exp10 -0
187 exp10 3
188 exp10 -1
189 exp10 36
190 exp10 -36
191 exp10 305
192 exp10 -305
193 exp10 4932
194 exp10 -4932
195 exp10 1e5
196 exp10 -1e5
197 exp10 1e6
198 exp10 -1e6
199 exp10 max
200 exp10 -max
201 exp10 0.75
203 exp2 0
204 exp2 -0
205 exp2 10
206 exp2 -1
207 exp2 1e6
208 exp2 -1e6
209 exp2 max
210 exp2 -max
211 exp2 0.75
212 exp2 100.5
213 exp2 127
214 exp2 -149
215 exp2 1000.25
216 exp2 1023
217 exp2 -1074
218 exp2 16383
219 exp2 -16400
221 expm1 0
222 expm1 -0
223 expm1 1
224 expm1 0.75
225 expm1 50.0
226 expm1 127.0
227 expm1 500.0
228 expm1 11356.25
229 expm1 -10.0
230 expm1 -16.0
231 expm1 -17.0
232 expm1 -18.0
233 expm1 -36.0
234 expm1 -37.0
235 expm1 -38.0
236 expm1 -44.0
237 expm1 -45.0
238 expm1 -46.0
239 expm1 -73.0
240 expm1 -74.0
241 expm1 -75.0
242 expm1 -78.0
243 expm1 -79.0
244 expm1 -80.0
245 expm1 -100.0
246 expm1 -1000.0
247 expm1 -10000.0
248 expm1 -100000.0
249 expm1 100000.0
250 expm1 max
251 expm1 -max
253 j0 -1.0
254 j0 0.0
255 j0 0.125
256 j0 0.75
257 j0 1.0
258 j0 1.5
259 j0 2.0
260 j0 8.0
261 j0 10.0
262 j0 4.0
263 j0 -4.0
264 j0 0x1.d7ce3ap+107
265 j0 -0x1.001000001p+593
266 j0 0x1p1023
267 j0 0x1p16382
268 j0 0x1p16383
270 j1 -1.0
271 j1 0.0
272 j1 0.125
273 j1 0.75
274 j1 1.0
275 j1 1.5
276 j1 2.0
277 j1 8.0
278 j1 10.0
279 j1 0x1.3ffp+74
280 j1 0x1.ff00000000002p+840
281 j1 0x1p1023
282 j1 0x1p16382
283 j1 0x1p16383
285 sqrt 0
286 sqrt -0
287 sqrt 2209
288 sqrt 4
289 sqrt 2
290 sqrt 0.25
291 sqrt 6642.25
292 sqrt 15190.5625
293 sqrt 0.75
294 sqrt 0x1.fffffffffffffp+1023
295 sqrt 0x1.ffffffffffffbp+1023
296 sqrt 0x1.ffffffffffff7p+1023
297 sqrt 0x1.ffffffffffff3p+1023
298 sqrt 0x1.fffffffffffefp+1023
299 sqrt 0x1.fffffffffffebp+1023
300 sqrt 0x1.fffffffffffe7p+1023
301 sqrt 0x1.fffffffffffe3p+1023
302 sqrt 0x1.fffffffffffdfp+1023
303 sqrt 0x1.fffffffffffdbp+1023
304 sqrt 0x1.fffffffffffd7p+1023
305 sqrt 0x1.0000000000003p-1022
306 sqrt 0x1.0000000000007p-1022
307 sqrt 0x1.000000000000bp-1022
308 sqrt 0x1.000000000000fp-1022
309 sqrt 0x1.0000000000013p-1022
310 sqrt 0x1.0000000000017p-1022
311 sqrt 0x1.000000000001bp-1022
312 sqrt 0x1.000000000001fp-1022
313 sqrt 0x1.0000000000023p-1022
314 sqrt 0x1.0000000000027p-1022
315 sqrt 0x1.000000000002bp-1022
316 sqrt 0x1.000000000002fp-1022
317 sqrt 0x1.0000000000033p-1022
318 sqrt 0x1.0000000000037p-1022
319 sqrt 0x1.7167bc36eaa3bp+6
320 sqrt 0x1.7570994273ad7p+6
321 sqrt 0x1.7dae969442fe6p+6
322 sqrt 0x1.7f8444fcf67e5p+6
323 sqrt 0x1.8364650e63a54p+6
324 sqrt 0x1.85bedd274edd8p+6
325 sqrt 0x1.8609cf496ab77p+6
326 sqrt 0x1.873849c70a375p+6
327 sqrt 0x1.8919c962cbaaep+6
328 sqrt 0x1.8de4493e22dc6p+6
329 sqrt 0x1.924829a17a288p+6
330 sqrt 0x1.92702cd992f12p+6
331 sqrt 0x1.92b763a8311fdp+6
332 sqrt 0x1.947da013c7293p+6
333 sqrt 0x1.9536091c494d2p+6
334 sqrt 0x1.61b04c6p-1019
335 sqrt 0x1.93789f1p-1018
336 sqrt 0x1.a1989b4p-1018
337 sqrt 0x1.f93bc9p-1018
338 sqrt 0x1.2f675e3p-1017
339 sqrt 0x1.a158508p-1017
340 sqrt 0x1.cd31f078p-1017
341 sqrt 0x1.33b43b08p-1016
342 sqrt 0x1.6e66a858p-1016
343 sqrt 0x1.8661cbf8p-1016
344 sqrt 0x1.bbb221b4p-1016
345 sqrt 0x1.c4942f3cp-1016
346 sqrt 0x1.dbb258c8p-1016
347 sqrt 0x1.57103ea4p-1015
348 sqrt 0x1.9b294f88p-1015
349 sqrt 0x1.0000000000001p+0
350 sqrt 0x1.fffffffffffffp-1