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