]>
Commit | Line | Data |
---|---|---|
c9cf6dde AJ |
1 | # Begin of automatic generation |
2 | ||
df5e9fa6 AJ |
3 | # acos |
4 | Test "acos (-0) == pi/2": | |
5 | double: 707423775202844 | |
6 | idouble: 707423775202844 | |
7 | ||
c9cf6dde | 8 | # asin |
df5e9fa6 AJ |
9 | Test "asin (-0) == -0": |
10 | double: 2570638124657944 | |
11 | idouble: 2570638124657944 | |
c9cf6dde AJ |
12 | Test "asin (-0.5) == -pi/6": |
13 | ildouble: 1 | |
14 | ldouble: 1 | |
15 | Test "asin (-1.0) == -pi/2": | |
16 | ildouble: 1 | |
17 | ldouble: 1 | |
18 | Test "asin (0.5) == pi/6": | |
19 | ildouble: 1 | |
20 | ldouble: 1 | |
21 | Test "asin (0.7) == 0.77539749661075306374035335271498708": | |
22 | double: 1 | |
23 | idouble: 1 | |
24 | ildouble: 1 | |
25 | ldouble: 1 | |
df5e9fa6 AJ |
26 | Test "asin (0.75) == 0.848062078981481008052944338998418080": |
27 | ildouble: 1 | |
28 | ldouble: 1 | |
c9cf6dde AJ |
29 | Test "asin (1.0) == pi/2": |
30 | ildouble: 1 | |
31 | ldouble: 1 | |
32 | ||
33 | # asinh | |
df5e9fa6 AJ |
34 | Test "asinh (-0) == -0": |
35 | double: 534245869295085 | |
36 | idouble: 534245869295085 | |
c9cf6dde AJ |
37 | Test "asinh (0.7) == 0.652666566082355786": |
38 | ildouble: 15 | |
39 | ldouble: 15 | |
40 | ||
df5e9fa6 AJ |
41 | # atan |
42 | Test "atan (-0) == -0": | |
43 | double: 966480751356276 | |
44 | idouble: 966480751356276 | |
45 | ||
c9cf6dde | 46 | # atan2 |
df5e9fa6 AJ |
47 | Test "atan2 (-0, -0) == -pi": |
48 | double: 884279719003555 | |
49 | idouble: 884279719003555 | |
50 | Test "atan2 (-0, -1) == -pi": | |
51 | double: 1237991606604977 | |
52 | idouble: 1237991606604977 | |
53 | Test "atan2 (-0, 0) == -0": | |
54 | double: 2570638124657944 | |
55 | idouble: 2570638124657944 | |
56 | Test "atan2 (-0, 1) == -0": | |
57 | double: 966480751356276 | |
58 | idouble: 966480751356276 | |
c9cf6dde AJ |
59 | Test "atan2 (-0.7, -1.0) == -2.530866689200584621918884506789267": |
60 | float: 3 | |
61 | ifloat: 3 | |
df5e9fa6 AJ |
62 | Test "atan2 (-0.75, -1.0) == -2.49809154479650885165983415456218025": |
63 | float: 3 | |
64 | ifloat: 3 | |
65 | Test "atan2 (-1, -0) == -pi/2": | |
66 | double: 353711887601422 | |
67 | idouble: 353711887601422 | |
68 | Test "atan2 (-1, inf) == -0": | |
69 | double: 4503599627370496 | |
70 | idouble: 4503599627370496 | |
71 | Test "atan2 (0, -0) == pi": | |
72 | double: 707423775202844 | |
73 | idouble: 707423775202844 | |
c9cf6dde AJ |
74 | Test "atan2 (0.7, -1.0) == 2.530866689200584621918884506789267": |
75 | float: 3 | |
76 | ifloat: 3 | |
df5e9fa6 AJ |
77 | Test "atan2 (0.75, -1.0) == 2.49809154479650885165983415456218025": |
78 | float: 3 | |
79 | ifloat: 3 | |
80 | Test "atan2 (1, -0) == pi/2": | |
81 | double: 353711887601422 | |
82 | idouble: 353711887601422 | |
83 | Test "atan2 (1.390625, 0.9296875) == 0.981498387184244311516296577615519772": | |
84 | float: 1 | |
85 | ifloat: 1 | |
c9cf6dde AJ |
86 | Test "atan2 (1.4, -0.93) == 2.1571487668237843754887415992772736": |
87 | float: 4 | |
88 | ifloat: 4 | |
89 | ||
90 | # atanh | |
91 | Test "atanh (0.7) == 0.8673005276940531944": | |
92 | double: 1 | |
93 | idouble: 1 | |
94 | ildouble: 1 | |
95 | ldouble: 1 | |
df5e9fa6 AJ |
96 | Test "atanh (0.75) == 0.972955074527656652552676371721589865": |
97 | float: 1 | |
98 | ifloat: 1 | |
99 | ildouble: 1 | |
100 | ldouble: 1 | |
c9cf6dde AJ |
101 | |
102 | # cabs | |
103 | Test "cabs (-0.7 + 12.4 i) == 12.419742348374220601176836866763271": | |
104 | float: 1 | |
105 | ifloat: 1 | |
106 | Test "cabs (-0.7 - 12.4 i) == 12.419742348374220601176836866763271": | |
107 | float: 1 | |
108 | ifloat: 1 | |
109 | Test "cabs (-12.4 + 0.7 i) == 12.419742348374220601176836866763271": | |
110 | float: 1 | |
111 | ifloat: 1 | |
112 | Test "cabs (-12.4 - 0.7 i) == 12.419742348374220601176836866763271": | |
113 | float: 1 | |
114 | ifloat: 1 | |
115 | Test "cabs (0.7 + 1.2 i) == 1.3892443989449804508432547041028554": | |
116 | double: 1 | |
117 | idouble: 1 | |
118 | ildouble: 1 | |
119 | ldouble: 1 | |
120 | Test "cabs (0.7 + 12.4 i) == 12.419742348374220601176836866763271": | |
121 | float: 1 | |
122 | ifloat: 1 | |
123 | ||
124 | # cacos | |
df5e9fa6 AJ |
125 | Test "Real part of: cacos (-0 + 0 i) == pi/2 - 0 i": |
126 | double: 707423775202844 | |
127 | idouble: 707423775202844 | |
128 | Test "Imaginary part of: cacos (-0 + 0 i) == pi/2 - 0 i": | |
129 | double: 4503599627370496 | |
130 | idouble: 4503599627370496 | |
131 | Test "Real part of: cacos (-0 - 0 i) == pi/2 + 0.0 i": | |
132 | double: 5878111878616268 | |
133 | idouble: 5878111878616268 | |
134 | Test "Imaginary part of: cacos (-0 - 0 i) == pi/2 + 0.0 i": | |
135 | double: 160744846075862 | |
136 | idouble: 160744846075862 | |
137 | Test "Real part of: cacos (-10.0 + inf i) == pi/2 - inf i": | |
138 | double: 4503599627370496 | |
139 | idouble: 4503599627370496 | |
140 | Test "Real part of: cacos (-10.0 - inf i) == pi/2 + inf i": | |
141 | double: 4503599627370496 | |
142 | idouble: 4503599627370496 | |
143 | Test "Real part of: cacos (-2 - 3 i) == 2.1414491111159960199416055713254211 + 1.9833870299165354323470769028940395 i": | |
144 | double: 1324699733585463 | |
145 | idouble: 1324699733585463 | |
146 | Test "Imaginary part of: cacos (-2 - 3 i) == 2.1414491111159960199416055713254211 + 1.9833870299165354323470769028940395 i": | |
147 | double: 3346157649749858 | |
148 | idouble: 3346157649749858 | |
149 | Test "Imaginary part of: cacos (0 + 0 i) == pi/2 - 0 i": | |
150 | double: 4503599627370496 | |
151 | idouble: 4503599627370496 | |
152 | Test "Imaginary part of: cacos (0 - 0 i) == pi/2 + 0.0 i": | |
153 | double: 3969353758075411 | |
154 | idouble: 3969353758075411 | |
155 | Test "Real part of: cacos (0.1 + inf i) == pi/2 - inf i": | |
156 | double: 45035996273705 | |
157 | idouble: 45035996273705 | |
158 | Test "Real part of: cacos (0.1 - inf i) == pi/2 + inf i": | |
159 | double: 45035996273705 | |
160 | idouble: 45035996273705 | |
c9cf6dde AJ |
161 | Test "Real part of: cacos (0.7 + 1.2 i) == 1.1351827477151551088992008271819053 - 1.0927647857577371459105272080819308 i": |
162 | double: 1 | |
163 | float: 1 | |
164 | idouble: 1 | |
165 | ifloat: 1 | |
166 | ildouble: 1 | |
167 | ldouble: 1 | |
168 | Test "Imaginary part of: cacos (0.7 + 1.2 i) == 1.1351827477151551088992008271819053 - 1.0927647857577371459105272080819308 i": | |
169 | float: 1 | |
170 | ifloat: 1 | |
171 | ildouble: 1 | |
172 | ldouble: 1 | |
df5e9fa6 AJ |
173 | Test "Real part of: cacos (0.75 + 1.25 i) == 1.11752014915610270578240049553777969 - 1.13239363160530819522266333696834467 i": |
174 | double: 7980477666938039 | |
175 | idouble: 7980477666938039 | |
176 | Test "Imaginary part of: cacos (0.75 + 1.25 i) == 1.11752014915610270578240049553777969 - 1.13239363160530819522266333696834467 i": | |
177 | double: 5774891653287013 | |
178 | idouble: 5774891653287013 | |
179 | ildouble: 2 | |
180 | ldouble: 2 | |
c9cf6dde AJ |
181 | |
182 | # cacosh | |
df5e9fa6 AJ |
183 | Test "Imaginary part of: cacosh (-0 + 0 i) == 0.0 + pi/2 i": |
184 | double: 707423775202844 | |
185 | idouble: 707423775202844 | |
186 | Test "Real part of: cacosh (-0 - 0 i) == 0.0 - pi/2 i": | |
187 | double: 5630948719938435 | |
188 | idouble: 5630948719938435 | |
189 | Test "Imaginary part of: cacosh (-0 - 0 i) == 0.0 - pi/2 i": | |
190 | double: 11729960014068772 | |
191 | idouble: 11729960014068772 | |
c9cf6dde AJ |
192 | Test "Real part of: cacosh (-2 - 3 i) == -1.9833870299165354323470769028940395 + 2.1414491111159960199416055713254211 i": |
193 | double: 1 | |
194 | float: 7 | |
195 | idouble: 1 | |
196 | ifloat: 7 | |
197 | ildouble: 6 | |
198 | ldouble: 6 | |
199 | Test "Imaginary part of: cacosh (-2 - 3 i) == -1.9833870299165354323470769028940395 + 2.1414491111159960199416055713254211 i": | |
200 | double: 1 | |
201 | float: 3 | |
202 | idouble: 1 | |
203 | ifloat: 3 | |
204 | ildouble: 1 | |
205 | ldouble: 1 | |
df5e9fa6 AJ |
206 | Test "Imaginary part of: cacosh (-inf + 0 i) == inf + pi i": |
207 | double: 707423775202844 | |
208 | idouble: 707423775202844 | |
209 | Test "Imaginary part of: cacosh (-inf + 100 i) == inf + pi i": | |
210 | double: 218105743616496352 | |
211 | idouble: 218105743616496352 | |
212 | Test "Imaginary part of: cacosh (-inf - 0 i) == inf - pi i": | |
213 | double: 9326037565713688 | |
214 | idouble: 9326037565713688 | |
215 | Test "Imaginary part of: cacosh (-inf - 100 i) == inf - pi i": | |
216 | double: 232254219120553248 | |
217 | idouble: 232254219120553248 | |
218 | Test "Imaginary part of: cacosh (0 + 0 i) == 0.0 + pi/2 i": | |
219 | double: 707423775202844 | |
220 | idouble: 707423775202844 | |
221 | Test "Imaginary part of: cacosh (0 - 0 i) == 0.0 - pi/2 i": | |
222 | double: 1414847550405688 | |
223 | idouble: 1414847550405688 | |
c9cf6dde AJ |
224 | Test "Real part of: cacosh (0.7 + 1.2 i) == 1.0927647857577371459105272080819308 + 1.1351827477151551088992008271819053 i": |
225 | double: 1 | |
226 | float: 1 | |
227 | idouble: 1 | |
228 | ifloat: 1 | |
229 | ildouble: 1 | |
230 | ldouble: 1 | |
231 | Test "Imaginary part of: cacosh (0.7 + 1.2 i) == 1.0927647857577371459105272080819308 + 1.1351827477151551088992008271819053 i": | |
232 | ildouble: 1 | |
233 | ldouble: 1 | |
df5e9fa6 AJ |
234 | Test "Real part of: cacosh (0.75 + 1.25 i) == 1.13239363160530819522266333696834467 + 1.11752014915610270578240049553777969 i": |
235 | double: 421687177141445 | |
236 | idouble: 421687177141445 | |
237 | ildouble: 1 | |
238 | ldouble: 1 | |
239 | Test "Imaginary part of: cacosh (0.75 + 1.25 i) == 1.13239363160530819522266333696834467 + 1.11752014915610270578240049553777969 i": | |
240 | double: 194104484126326 | |
241 | idouble: 194104484126326 | |
242 | Test "Imaginary part of: cacosh (inf + 0.5 i) == inf + 0.0 i": | |
243 | double: 2251799813685248 | |
244 | idouble: 2251799813685248 | |
245 | Test "Imaginary part of: cacosh (inf - 0.5 i) == inf - 0 i": | |
246 | double: 2251799813685248 | |
247 | idouble: 2251799813685248 | |
248 | ||
249 | # carg | |
250 | Test "carg (-0 + 0 i) == pi": | |
251 | double: 707423775202844 | |
252 | idouble: 707423775202844 | |
253 | Test "carg (-0 + 2.0 i) == pi/2": | |
254 | double: 2088083199127252 | |
255 | idouble: 2088083199127252 | |
256 | Test "carg (-0 - 0 i) == -pi": | |
257 | double: 884279719003555 | |
258 | idouble: 884279719003555 | |
259 | Test "carg (-0 - 2.0 i) == -pi/2": | |
260 | double: 2088083199127252 | |
261 | idouble: 2088083199127252 | |
262 | Test "carg (-2.0 - 0 i) == -pi": | |
263 | double: 13104433904493254 | |
264 | idouble: 13104433904493254 | |
265 | Test "carg (0 - 0 i) == -0": | |
266 | double: 2570638124657944 | |
267 | idouble: 2570638124657944 | |
268 | Test "carg (2.0 - 0 i) == -0": | |
269 | double: 2415516428243244 | |
270 | idouble: 2415516428243244 | |
271 | Test "carg (inf - 2.0 i) == -0": | |
272 | double: 4503599627370496 | |
273 | idouble: 4503599627370496 | |
c9cf6dde AJ |
274 | |
275 | # casin | |
df5e9fa6 AJ |
276 | Test "Real part of: casin (-0 + 0 i) == -0 + 0.0 i": |
277 | double: 2570638124657944 | |
278 | idouble: 2570638124657944 | |
279 | Test "Real part of: casin (-0 - 0 i) == -0 - 0 i": | |
280 | double: 10381711505986764 | |
281 | idouble: 10381711505986764 | |
282 | Test "Imaginary part of: casin (-0 - 0 i) == -0 - 0 i": | |
283 | double: 4664344473446358 | |
284 | idouble: 4664344473446358 | |
285 | Test "Real part of: casin (-10.0 + inf i) == -0 + inf i": | |
286 | double: 40532396646334464 | |
287 | idouble: 40532396646334464 | |
288 | Test "Real part of: casin (-10.0 - inf i) == -0 - inf i": | |
289 | double: 40532396646334464 | |
290 | idouble: 40532396646334464 | |
291 | Test "Real part of: casin (-2 - 3 i) == -0.57065278432109940071028387968566963 - 1.9833870299165354323470769028940395 i": | |
292 | double: 5298798934341853 | |
293 | idouble: 5298798934341853 | |
294 | Test "Imaginary part of: casin (-2 - 3 i) == -0.57065278432109940071028387968566963 - 1.9833870299165354323470769028940395 i": | |
295 | double: 3346157649749858 | |
296 | idouble: 3346157649749858 | |
297 | Test "Imaginary part of: casin (0 - 0 i) == 0.0 - 0 i": | |
298 | double: 534245869295086 | |
299 | idouble: 534245869295086 | |
300 | Test "Real part of: casin (0.1 + inf i) == 0.0 + inf i": | |
301 | double: 45035996273705 | |
302 | idouble: 45035996273705 | |
303 | Test "Real part of: casin (0.1 - inf i) == 0.0 - inf i": | |
304 | double: 45035996273705 | |
305 | idouble: 45035996273705 | |
c9cf6dde AJ |
306 | Test "Real part of: casin (0.7 + 1.2 i) == 0.4356135790797415103321208644578462 + 1.0927647857577371459105272080819308 i": |
307 | double: 3 | |
308 | float: 2 | |
309 | idouble: 3 | |
310 | ifloat: 2 | |
311 | Test "Imaginary part of: casin (0.7 + 1.2 i) == 0.4356135790797415103321208644578462 + 1.0927647857577371459105272080819308 i": | |
312 | float: 1 | |
313 | ifloat: 1 | |
314 | ildouble: 1 | |
315 | ldouble: 1 | |
df5e9fa6 AJ |
316 | Test "Real part of: casin (0.75 + 1.25 i) == 0.453276177638793913448921196101971749 + 1.13239363160530819522266333696834467 i": |
317 | double: 3192191066775216 | |
318 | float: 1 | |
319 | idouble: 3192191066775216 | |
320 | ifloat: 1 | |
321 | ildouble: 2 | |
322 | ldouble: 2 | |
323 | Test "Imaginary part of: casin (0.75 + 1.25 i) == 0.453276177638793913448921196101971749 + 1.13239363160530819522266333696834467 i": | |
324 | double: 5774891653287013 | |
325 | idouble: 5774891653287013 | |
326 | ildouble: 2 | |
327 | ldouble: 2 | |
c9cf6dde AJ |
328 | |
329 | # casinh | |
df5e9fa6 AJ |
330 | Test "Real part of: casinh (-0 + 0 i) == -0 + 0 i": |
331 | double: 534245869295085 | |
332 | idouble: 534245869295085 | |
333 | Test "Real part of: casinh (-0 - 0 i) == -0 - 0 i": | |
334 | double: 1464947766678355 | |
335 | idouble: 1464947766678355 | |
336 | Test "Imaginary part of: casinh (-0 - 0 i) == -0 - 0 i": | |
337 | double: 348514574854532 | |
338 | idouble: 348514574854532 | |
c9cf6dde AJ |
339 | Test "Real part of: casinh (-2 - 3 i) == -1.9686379257930962917886650952454982 - 0.96465850440760279204541105949953237 i": |
340 | double: 5 | |
341 | float: 1 | |
342 | idouble: 5 | |
343 | ifloat: 1 | |
344 | ildouble: 5 | |
345 | ldouble: 5 | |
346 | Test "Imaginary part of: casinh (-2 - 3 i) == -1.9686379257930962917886650952454982 - 0.96465850440760279204541105949953237 i": | |
347 | double: 3 | |
348 | float: 6 | |
349 | idouble: 3 | |
350 | ifloat: 6 | |
351 | ildouble: 5 | |
352 | ldouble: 5 | |
df5e9fa6 AJ |
353 | Test "Imaginary part of: casinh (-inf + 100 i) == -inf + 0.0 i": |
354 | double: 4503599627370496 | |
355 | idouble: 4503599627370496 | |
356 | Test "Imaginary part of: casinh (-inf - 100 i) == -inf - 0 i": | |
357 | double: 445856363109679104 | |
358 | idouble: 445856363109679104 | |
359 | Test "Imaginary part of: casinh (0 - 0 i) == 0.0 - 0 i": | |
360 | double: 2570638124657944 | |
361 | idouble: 2570638124657944 | |
c9cf6dde AJ |
362 | Test "Real part of: casinh (0.7 + 1.2 i) == 0.97865459559367387689317593222160964 + 0.91135418953156011567903546856170941 i": |
363 | double: 1 | |
364 | idouble: 1 | |
365 | Test "Imaginary part of: casinh (0.7 + 1.2 i) == 0.97865459559367387689317593222160964 + 0.91135418953156011567903546856170941 i": | |
366 | float: 1 | |
367 | ifloat: 1 | |
368 | ildouble: 2 | |
369 | ldouble: 2 | |
df5e9fa6 AJ |
370 | Test "Real part of: casinh (0.75 + 1.25 i) == 1.03171853444778027336364058631006594 + 0.911738290968487636358489564316731207 i": |
371 | double: 913362693746594 | |
372 | float: 1 | |
373 | idouble: 913362693746594 | |
374 | ifloat: 1 | |
375 | Test "Imaginary part of: casinh (0.75 + 1.25 i) == 1.03171853444778027336364058631006594 + 0.911738290968487636358489564316731207 i": | |
376 | double: 189265845912375 | |
377 | float: 1 | |
378 | idouble: 189265845912375 | |
379 | ifloat: 1 | |
380 | Test "Imaginary part of: casinh (inf + 0.5 i) == inf + 0.0 i": | |
381 | double: 2251799813685248 | |
382 | idouble: 2251799813685248 | |
383 | Test "Imaginary part of: casinh (inf - 0.5 i) == inf - 0 i": | |
384 | double: 2251799813685248 | |
385 | idouble: 2251799813685248 | |
c9cf6dde AJ |
386 | |
387 | # catan | |
df5e9fa6 AJ |
388 | Test "Real part of: catan (-0 + 0 i) == -0 + 0 i": |
389 | double: 966480751356276 | |
390 | idouble: 966480751356276 | |
391 | Test "Real part of: catan (-0 + inf i) == -pi/2 + 0 i": | |
392 | double: 11577837379398936 | |
393 | idouble: 11577837379398936 | |
394 | Test "Real part of: catan (-0 - 0 i) == -0 - 0 i": | |
395 | double: 7756084820735 | |
396 | idouble: 7756084820735 | |
397 | Test "Imaginary part of: catan (-0 - 0 i) == -0 - 0 i": | |
398 | double: 2691533631691955 | |
399 | idouble: 2691533631691955 | |
400 | Test "Real part of: catan (-0 - inf i) == -pi/2 - 0 i": | |
401 | double: 11577837379398936 | |
402 | idouble: 11577837379398936 | |
403 | Test "Real part of: catan (-0.5 + inf i) == -pi/2 + 0 i": | |
404 | double: 9326037565713688 | |
405 | idouble: 9326037565713688 | |
406 | Test "Real part of: catan (-100.0 - inf i) == -pi/2 - 0 i": | |
407 | double: 457434200489078016 | |
408 | idouble: 457434200489078016 | |
c9cf6dde AJ |
409 | Test "Real part of: catan (-2 - 3 i) == -1.4099210495965755225306193844604208 - 0.22907268296853876629588180294200276 i": |
410 | float: 3 | |
411 | ifloat: 3 | |
412 | Test "Imaginary part of: catan (-2 - 3 i) == -1.4099210495965755225306193844604208 - 0.22907268296853876629588180294200276 i": | |
413 | double: 1 | |
414 | float: 1 | |
415 | idouble: 1 | |
416 | ifloat: 1 | |
df5e9fa6 AJ |
417 | Test "Imaginary part of: catan (-inf + 0.1 i) == -pi/2 + 0 i": |
418 | double: 45035996273705 | |
419 | idouble: 45035996273705 | |
420 | Test "Imaginary part of: catan (-inf - 10.0 i) == -pi/2 - 0 i": | |
421 | double: 40532396646334464 | |
422 | idouble: 40532396646334464 | |
423 | Test "Real part of: catan (0.0 + inf i) == pi/2 + 0 i": | |
424 | double: 707423775202844 | |
425 | idouble: 707423775202844 | |
426 | Test "Real part of: catan (0.0 - inf i) == pi/2 - 0 i": | |
427 | double: 707423775202844 | |
428 | idouble: 707423775202844 | |
429 | Test "Real part of: catan (0.5 + inf i) == pi/2 + 0 i": | |
430 | double: 4822437938343192 | |
431 | idouble: 4822437938343192 | |
c9cf6dde AJ |
432 | Test "Real part of: catan (0.7 + 1.2 i) == 1.0785743834118921877443707996386368 + 0.57705737765343067644394541889341712 i": |
433 | float: 4 | |
434 | ifloat: 4 | |
435 | ildouble: 1 | |
436 | ldouble: 1 | |
437 | Test "Imaginary part of: catan (0.7 + 1.2 i) == 1.0785743834118921877443707996386368 + 0.57705737765343067644394541889341712 i": | |
438 | double: 1 | |
439 | idouble: 1 | |
df5e9fa6 AJ |
440 | Test "Real part of: catan (0.75 + 1.25 i) == 1.10714871779409050301706546017853704 + 0.549306144334054845697622618461262852 i": |
441 | float: 4 | |
442 | ifloat: 4 | |
443 | Test "Real part of: catan (100.0 - inf i) == pi/2 - 0 i": | |
444 | double: 443285724985021184 | |
445 | idouble: 443285724985021184 | |
446 | Test "Imaginary part of: catan (inf + 0.1 i) == pi/2 + 0 i": | |
447 | double: 45035996273705 | |
448 | idouble: 45035996273705 | |
449 | Test "Imaginary part of: catan (inf - 10.0 i) == pi/2 - 0 i": | |
450 | double: 40532396646334464 | |
451 | idouble: 40532396646334464 | |
c9cf6dde AJ |
452 | |
453 | # catanh | |
df5e9fa6 AJ |
454 | Test "Real part of: catanh (-0 - 0 i) == -0 - 0 i": |
455 | double: 2691533631691955 | |
456 | idouble: 2691533631691955 | |
457 | Test "Imaginary part of: catanh (-0 - 0 i) == -0 - 0 i": | |
458 | double: 7756084820735 | |
459 | idouble: 7756084820735 | |
460 | Test "Real part of: catanh (-10.0 + inf i) == -0 + pi/2 i": | |
461 | double: 40532396646334464 | |
462 | idouble: 40532396646334464 | |
463 | Test "Real part of: catanh (-10.0 - inf i) == -0 - pi/2 i": | |
464 | double: 40532396646334464 | |
465 | idouble: 40532396646334464 | |
c9cf6dde AJ |
466 | Test "Real part of: catanh (-2 - 3 i) == -0.14694666622552975204743278515471595 - 1.3389725222944935611241935759091443 i": |
467 | double: 4 | |
468 | idouble: 4 | |
469 | ildouble: 1 | |
470 | ldouble: 1 | |
471 | Test "Imaginary part of: catanh (-2 - 3 i) == -0.14694666622552975204743278515471595 - 1.3389725222944935611241935759091443 i": | |
472 | float: 4 | |
473 | ifloat: 4 | |
df5e9fa6 AJ |
474 | Test "Imaginary part of: catanh (-inf + 0 i) == -0 + pi/2 i": |
475 | double: 707423775202844 | |
476 | idouble: 707423775202844 | |
477 | Test "Imaginary part of: catanh (-inf + 100 i) == -0 + pi/2 i": | |
478 | double: 443285724985021184 | |
479 | idouble: 443285724985021184 | |
480 | Test "Imaginary part of: catanh (-inf - 0 i) == -0 - pi/2 i": | |
481 | double: 11577837379398936 | |
482 | idouble: 11577837379398936 | |
483 | Test "Imaginary part of: catanh (-inf - 100 i) == -0 - pi/2 i": | |
484 | double: 457434200489078016 | |
485 | idouble: 457434200489078016 | |
486 | Test "Imaginary part of: catanh (0 - 0 i) == 0.0 - 0 i": | |
487 | double: 966480751356276 | |
488 | idouble: 966480751356276 | |
489 | Test "Real part of: catanh (0.1 + inf i) == 0.0 + pi/2 i": | |
490 | double: 45035996273705 | |
491 | idouble: 45035996273705 | |
492 | Test "Real part of: catanh (0.1 - inf i) == 0.0 - pi/2 i": | |
493 | double: 45035996273705 | |
494 | idouble: 45035996273705 | |
c9cf6dde AJ |
495 | Test "Real part of: catanh (0.7 + 1.2 i) == 0.2600749516525135959200648705635915 + 0.97024030779509898497385130162655963 i": |
496 | float: 1 | |
497 | ifloat: 1 | |
498 | ildouble: 1 | |
499 | ldouble: 1 | |
500 | Test "Imaginary part of: catanh (0.7 + 1.2 i) == 0.2600749516525135959200648705635915 + 0.97024030779509898497385130162655963 i": | |
501 | float: 6 | |
502 | ifloat: 6 | |
df5e9fa6 AJ |
503 | Test "Real part of: catanh (0.75 + 1.25 i) == 0.261492138795671927078652057366532140 + 0.996825126463918666098902241310446708 i": |
504 | double: 1 | |
505 | idouble: 1 | |
506 | Test "Imaginary part of: catanh (0.75 + 1.25 i) == 0.261492138795671927078652057366532140 + 0.996825126463918666098902241310446708 i": | |
507 | float: 6 | |
508 | ifloat: 6 | |
509 | Test "Imaginary part of: catanh (inf + 0 i) == 0.0 + pi/2 i": | |
510 | double: 707423775202844 | |
511 | idouble: 707423775202844 | |
512 | Test "Imaginary part of: catanh (inf + 0.5 i) == 0.0 + pi/2 i": | |
513 | double: 4822437938343192 | |
514 | idouble: 4822437938343192 | |
515 | Test "Imaginary part of: catanh (inf - 0 i) == 0.0 - pi/2 i": | |
516 | double: 11577837379398936 | |
517 | idouble: 11577837379398936 | |
518 | Test "Imaginary part of: catanh (inf - 0.5 i) == 0.0 - pi/2 i": | |
519 | double: 9326037565713688 | |
520 | idouble: 9326037565713688 | |
c9cf6dde AJ |
521 | |
522 | # cbrt | |
523 | Test "cbrt (-0.001) == -0.1": | |
df5e9fa6 AJ |
524 | ildouble: 1 |
525 | ldouble: 1 | |
c9cf6dde AJ |
526 | Test "cbrt (-27.0) == -3.0": |
527 | double: 1 | |
528 | idouble: 1 | |
529 | ildouble: 948 | |
530 | ldouble: 948 | |
531 | Test "cbrt (0.7) == 0.8879040017426007084": | |
532 | ildouble: 345 | |
533 | ldouble: 345 | |
df5e9fa6 AJ |
534 | Test "cbrt (0.75) == 0.908560296416069829445605878163630251": |
535 | double: 1 | |
536 | idouble: 1 | |
c9cf6dde AJ |
537 | Test "cbrt (0.970299) == 0.99": |
538 | double: 1 | |
539 | idouble: 1 | |
540 | ildouble: 142 | |
541 | ldouble: 142 | |
df5e9fa6 AJ |
542 | Test "cbrt (0.9921875) == 0.997389022060725270579075195353955217": |
543 | double: 1 | |
544 | idouble: 1 | |
545 | ildouble: 1 | |
546 | ldouble: 1 | |
c9cf6dde AJ |
547 | Test "cbrt (8) == 2": |
548 | ildouble: 191 | |
549 | ldouble: 191 | |
550 | ||
551 | # ccos | |
df5e9fa6 AJ |
552 | Test "Real part of: ccos (-0 + 0.0 i) == 1.0 + 0.0 i": |
553 | double: 2070294363995322 | |
554 | idouble: 2070294363995322 | |
555 | Test "Real part of: ccos (-0 - 0 i) == 1.0 - 0 i": | |
556 | double: 748813396862259 | |
557 | idouble: 748813396862259 | |
558 | Test "Imaginary part of: ccos (-0 - 0 i) == 1.0 - 0 i": | |
559 | double: 8957198966551674 | |
560 | idouble: 8957198966551674 | |
c9cf6dde AJ |
561 | Test "Imaginary part of: ccos (-2 - 3 i) == -4.1896256909688072301 - 9.1092278937553365979 i": |
562 | float: 1 | |
563 | ifloat: 1 | |
564 | ildouble: 1 | |
565 | ldouble: 1 | |
df5e9fa6 AJ |
566 | Test "Imaginary part of: ccos (0.0 + 0.0 i) == 1.0 - 0 i": |
567 | double: 4503599627370496 | |
568 | idouble: 4503599627370496 | |
569 | Test "Real part of: ccos (0.0 - 0 i) == 1.0 + 0.0 i": | |
570 | double: 2445817744586064 | |
571 | idouble: 2445817744586064 | |
c9cf6dde AJ |
572 | Test "Real part of: ccos (0.7 + 1.2 i) == 1.3848657645312111080 - 0.97242170335830028619 i": |
573 | double: 1 | |
574 | idouble: 1 | |
575 | Test "Imaginary part of: ccos (0.7 + 1.2 i) == 1.3848657645312111080 - 0.97242170335830028619 i": | |
576 | double: 1 | |
577 | idouble: 1 | |
578 | ildouble: 1 | |
579 | ldouble: 1 | |
df5e9fa6 AJ |
580 | Test "Real part of: ccos (0.75 + 1.25 i) == 1.38173873063425888530729933139078645 - 1.09193013555397466170919531722024128 i": |
581 | double: 1 | |
582 | float: 1 | |
583 | idouble: 1 | |
584 | ifloat: 1 | |
585 | ildouble: 1 | |
586 | ldouble: 1 | |
587 | Test "Imaginary part of: ccos (0.75 + 1.25 i) == 1.38173873063425888530729933139078645 - 1.09193013555397466170919531722024128 i": | |
588 | float: 1 | |
589 | ifloat: 1 | |
590 | ildouble: 1 | |
591 | ldouble: 1 | |
c9cf6dde AJ |
592 | |
593 | # ccosh | |
df5e9fa6 AJ |
594 | Test "Real part of: ccosh (-0 + 0.0 i) == 1.0 - 0 i": |
595 | double: 2445817744586064 | |
596 | idouble: 2445817744586064 | |
597 | Test "Imaginary part of: ccosh (-0 + 0.0 i) == 1.0 - 0 i": | |
598 | double: 4503599627370496 | |
599 | idouble: 4503599627370496 | |
600 | Test "Real part of: ccosh (-0 - 0 i) == 1.0 + 0.0 i": | |
601 | double: 748813396862259 | |
602 | idouble: 748813396862259 | |
603 | Test "Imaginary part of: ccosh (-0 - 0 i) == 1.0 + 0.0 i": | |
604 | double: 4453599339181178 | |
605 | idouble: 4453599339181178 | |
c9cf6dde AJ |
606 | Test "Real part of: ccosh (-2 - 3 i) == -3.7245455049153225654 + 0.5118225699873846088 i": |
607 | float: 1 | |
608 | ifloat: 1 | |
609 | Test "Imaginary part of: ccosh (-2 - 3 i) == -3.7245455049153225654 + 0.5118225699873846088 i": | |
610 | float: 1 | |
611 | ifloat: 1 | |
612 | ildouble: 1 | |
613 | ldouble: 1 | |
df5e9fa6 AJ |
614 | Test "Real part of: ccosh (0.0 - 0 i) == 1.0 - 0 i": |
615 | double: 2070294363995322 | |
616 | idouble: 2070294363995322 | |
617 | Test "Imaginary part of: ccosh (0.0 - 0 i) == 1.0 - 0 i": | |
618 | double: 4503599627370496 | |
619 | idouble: 4503599627370496 | |
c9cf6dde AJ |
620 | Test "Real part of: ccosh (0.7 + 1.2 i) == 0.4548202223691477654 + 0.7070296600921537682 i": |
621 | double: 1 | |
622 | float: 1 | |
623 | idouble: 1 | |
624 | ifloat: 1 | |
625 | ildouble: 1 | |
626 | ldouble: 1 | |
627 | Test "Imaginary part of: ccosh (0.7 + 1.2 i) == 0.4548202223691477654 + 0.7070296600921537682 i": | |
628 | double: 1 | |
629 | idouble: 1 | |
630 | ildouble: 1 | |
631 | ldouble: 1 | |
df5e9fa6 AJ |
632 | Test "Real part of: ccosh (0.75 + 1.25 i) == 0.408242591877968807788852146397499084 + 0.780365930845853240391326216300863152 i": |
633 | double: 1 | |
634 | float: 1 | |
635 | idouble: 1 | |
636 | ifloat: 1 | |
637 | Test "Imaginary part of: ccosh (0.75 + 1.25 i) == 0.408242591877968807788852146397499084 + 0.780365930845853240391326216300863152 i": | |
638 | float: 1 | |
639 | ifloat: 1 | |
c9cf6dde AJ |
640 | |
641 | # cexp | |
df5e9fa6 AJ |
642 | Test "Real part of: cexp (+0 - 0 i) == 1 - 0 i": |
643 | double: 2070294363995322 | |
644 | idouble: 2070294363995322 | |
645 | Test "Imaginary part of: cexp (+0 - 0 i) == 1 - 0 i": | |
646 | double: 713951213746569 | |
647 | idouble: 713951213746569 | |
648 | Test "Real part of: cexp (-0 + +0 i) == 1 + 0.0 i": | |
649 | double: 773845340236565 | |
650 | idouble: 773845340236565 | |
651 | Test "Real part of: cexp (-0 - 0 i) == 1 - 0 i": | |
652 | double: 211080985315599 | |
653 | idouble: 211080985315599 | |
654 | Test "Imaginary part of: cexp (-0 - 0 i) == 1 - 0 i": | |
655 | double: 5797732791632072 | |
656 | idouble: 5797732791632072 | |
c9cf6dde AJ |
657 | Test "Real part of: cexp (-2.0 - 3.0 i) == -0.13398091492954261346140525546115575 - 0.019098516261135196432576240858800925 i": |
658 | ildouble: 1 | |
659 | ldouble: 1 | |
660 | Test "Imaginary part of: cexp (-2.0 - 3.0 i) == -0.13398091492954261346140525546115575 - 0.019098516261135196432576240858800925 i": | |
661 | float: 1 | |
662 | ifloat: 1 | |
663 | ildouble: 1 | |
664 | ldouble: 1 | |
df5e9fa6 AJ |
665 | Test "Real part of: cexp (-inf + 2.0 i) == -0 + 0.0 i": |
666 | double: 2629440889365375 | |
667 | idouble: 2629440889365375 | |
668 | Test "Imaginary part of: cexp (-inf + 2.0 i) == -0 + 0.0 i": | |
669 | double: 4095111552621091 | |
670 | idouble: 4095111552621091 | |
671 | Test "Real part of: cexp (-inf + 4.0 i) == -0 - 0 i": | |
672 | double: 1559850460016032 | |
673 | idouble: 1559850460016032 | |
674 | Test "Imaginary part of: cexp (-inf + 4.0 i) == -0 - 0 i": | |
675 | double: 1095264191508649 | |
676 | idouble: 1095264191508649 | |
677 | Test "Real part of: cexp (-inf - 0 i) == 0.0 - 0 i": | |
678 | double: 2433305263375174 | |
679 | idouble: 2433305263375174 | |
680 | Test "Imaginary part of: cexp (-inf - 0 i) == 0.0 - 0 i": | |
681 | double: 713951213746569 | |
682 | idouble: 713951213746569 | |
c9cf6dde AJ |
683 | Test "Real part of: cexp (0.7 + 1.2 i) == 0.72969890915032360123451688642930727 + 1.8768962328348102821139467908203072 i": |
684 | double: 1 | |
685 | float: 1 | |
686 | idouble: 1 | |
687 | ifloat: 1 | |
688 | ildouble: 2 | |
689 | ldouble: 2 | |
690 | Test "Imaginary part of: cexp (0.7 + 1.2 i) == 0.72969890915032360123451688642930727 + 1.8768962328348102821139467908203072 i": | |
691 | float: 1 | |
692 | ifloat: 1 | |
df5e9fa6 AJ |
693 | Test "Real part of: cexp (0.75 + 1.25 i) == 0.667537446429131586942201977015932112 + 2.00900045494094876258347228145863909 i": |
694 | float: 1 | |
695 | ifloat: 1 | |
696 | Test "Imaginary part of: cexp (0.75 + 1.25 i) == 0.667537446429131586942201977015932112 + 2.00900045494094876258347228145863909 i": | |
697 | ildouble: 1 | |
698 | ldouble: 1 | |
699 | Test "Imaginary part of: cexp (inf - 0 i) == inf - 0 i": | |
700 | double: 713951213746569 | |
701 | idouble: 713951213746569 | |
c9cf6dde AJ |
702 | |
703 | # clog | |
df5e9fa6 AJ |
704 | Test "Imaginary part of: clog (-0 + 0 i) == -inf + pi i plus division by zero exception": |
705 | double: 707423775202844 | |
706 | idouble: 707423775202844 | |
707 | Test "Imaginary part of: clog (-0 - 0 i) == -inf - pi i plus division by zero exception": | |
708 | double: 884279719003555 | |
709 | idouble: 884279719003555 | |
c9cf6dde AJ |
710 | Test "Imaginary part of: clog (-2 - 3 i) == 1.2824746787307683680267437207826593 - 2.1587989303424641704769327722648368 i": |
711 | float: 3 | |
712 | ifloat: 3 | |
df5e9fa6 AJ |
713 | Test "Imaginary part of: clog (-inf - 0 i) == inf - pi i": |
714 | double: 1414847550405688 | |
715 | idouble: 1414847550405688 | |
716 | Test "Imaginary part of: clog (0 - 0 i) == -inf - 0 i plus division by zero exception": | |
717 | double: 2570638124657944 | |
718 | idouble: 2570638124657944 | |
719 | Test "Real part of: clog (0.75 + 1.25 i) == 0.376885901188190075998919126749298416 + 1.03037682652431246378774332703115153 i": | |
720 | float: 1 | |
721 | ifloat: 1 | |
722 | ildouble: 1 | |
723 | ldouble: 1 | |
724 | Test "Imaginary part of: clog (inf - 0 i) == inf - 0 i": | |
725 | double: 4503599627370496 | |
726 | idouble: 4503599627370496 | |
727 | Test "Imaginary part of: clog (inf - 1 i) == inf - 0 i": | |
728 | double: 4503599627370496 | |
729 | idouble: 4503599627370496 | |
c9cf6dde AJ |
730 | |
731 | # clog10 | |
df5e9fa6 AJ |
732 | Test "Imaginary part of: clog10 (-0 + 0 i) == -inf + pi i plus division by zero exception": |
733 | double: 707423775202844 | |
734 | idouble: 707423775202844 | |
c9cf6dde AJ |
735 | Test "Imaginary part of: clog10 (-0 + inf i) == inf + pi/2*log10(e) i": |
736 | double: 1 | |
737 | float: 1 | |
738 | idouble: 1 | |
739 | ifloat: 1 | |
df5e9fa6 AJ |
740 | Test "Imaginary part of: clog10 (-0 - 0 i) == -inf - pi i plus division by zero exception": |
741 | double: 7842313356872844 | |
742 | idouble: 7842313356872844 | |
c9cf6dde AJ |
743 | Test "Imaginary part of: clog10 (-0 - inf i) == inf - pi/2*log10(e) i": |
744 | double: 1 | |
745 | float: 1 | |
746 | idouble: 1 | |
747 | ifloat: 1 | |
748 | Test "Imaginary part of: clog10 (-2 - 3 i) == 0.5569716761534183846 - 0.9375544629863747085 i": | |
749 | double: 1 | |
750 | float: 5 | |
751 | idouble: 1 | |
752 | ifloat: 5 | |
753 | ildouble: 1 | |
754 | ldouble: 1 | |
755 | Test "Imaginary part of: clog10 (-3 + inf i) == inf + pi/2*log10(e) i": | |
756 | double: 1 | |
757 | float: 1 | |
758 | idouble: 1 | |
759 | ifloat: 1 | |
760 | Test "Imaginary part of: clog10 (-3 - inf i) == inf - pi/2*log10(e) i": | |
761 | double: 1 | |
762 | float: 1 | |
763 | idouble: 1 | |
764 | ifloat: 1 | |
765 | Test "Imaginary part of: clog10 (-inf + 0 i) == inf + pi*log10(e) i": | |
766 | double: 1 | |
767 | float: 1 | |
768 | idouble: 1 | |
769 | ifloat: 1 | |
770 | Test "Imaginary part of: clog10 (-inf + 1 i) == inf + pi*log10(e) i": | |
771 | double: 1 | |
772 | float: 1 | |
773 | idouble: 1 | |
774 | ifloat: 1 | |
775 | Test "Imaginary part of: clog10 (-inf + inf i) == inf + 3/4 pi*log10(e) i": | |
776 | double: 1 | |
777 | idouble: 1 | |
778 | Test "Imaginary part of: clog10 (-inf - 0 i) == inf - pi*log10(e) i": | |
779 | double: 1 | |
780 | float: 1 | |
781 | idouble: 1 | |
782 | ifloat: 1 | |
783 | Test "Imaginary part of: clog10 (-inf - 1 i) == inf - pi*log10(e) i": | |
784 | double: 1 | |
785 | float: 1 | |
786 | idouble: 1 | |
787 | ifloat: 1 | |
788 | Test "Imaginary part of: clog10 (0 + inf i) == inf + pi/2*log10(e) i": | |
789 | double: 1 | |
790 | float: 1 | |
791 | idouble: 1 | |
792 | ifloat: 1 | |
df5e9fa6 AJ |
793 | Test "Imaginary part of: clog10 (0 - 0 i) == -inf - 0 i plus division by zero exception": |
794 | double: 143129720799288 | |
795 | idouble: 143129720799288 | |
c9cf6dde AJ |
796 | Test "Imaginary part of: clog10 (0 - inf i) == inf - pi/2*log10(e) i": |
797 | double: 1 | |
798 | float: 1 | |
799 | idouble: 1 | |
800 | ifloat: 1 | |
801 | Test "Real part of: clog10 (0.7 + 1.2 i) == 0.1427786545038868803 + 0.4528483579352493248 i": | |
802 | double: 1 | |
803 | float: 1 | |
804 | idouble: 1 | |
805 | ifloat: 1 | |
806 | ildouble: 1 | |
807 | ldouble: 1 | |
808 | Test "Imaginary part of: clog10 (0.7 + 1.2 i) == 0.1427786545038868803 + 0.4528483579352493248 i": | |
809 | double: 1 | |
810 | idouble: 1 | |
811 | ildouble: 3 | |
812 | ldouble: 3 | |
df5e9fa6 AJ |
813 | Test "Real part of: clog10 (0.75 + 1.25 i) == 0.163679467193165171449476605077428975 + 0.447486970040493067069984724340855636 i": |
814 | float: 1 | |
815 | ifloat: 1 | |
816 | ildouble: 1 | |
817 | ldouble: 1 | |
c9cf6dde AJ |
818 | Test "Imaginary part of: clog10 (3 + inf i) == inf + pi/2*log10(e) i": |
819 | double: 1 | |
820 | float: 1 | |
821 | idouble: 1 | |
822 | ifloat: 1 | |
823 | Test "Imaginary part of: clog10 (3 - inf i) == inf - pi/2*log10(e) i": | |
824 | double: 1 | |
825 | float: 1 | |
826 | idouble: 1 | |
827 | ifloat: 1 | |
828 | Test "Imaginary part of: clog10 (inf + inf i) == inf + pi/4*log10(e) i": | |
829 | double: 1 | |
830 | float: 1 | |
831 | idouble: 1 | |
832 | ifloat: 1 | |
df5e9fa6 AJ |
833 | Test "Imaginary part of: clog10 (inf - 0 i) == inf - 0 i": |
834 | double: 4503599627370496 | |
835 | idouble: 4503599627370496 | |
836 | Test "Imaginary part of: clog10 (inf - 1 i) == inf - 0 i": | |
837 | double: 4503599627370496 | |
838 | idouble: 4503599627370496 | |
c9cf6dde AJ |
839 | Test "Imaginary part of: clog10 (inf - inf i) == inf - pi/4*log10(e) i": |
840 | double: 1 | |
841 | float: 1 | |
842 | idouble: 1 | |
843 | ifloat: 1 | |
844 | ||
df5e9fa6 AJ |
845 | # conj |
846 | Test "Imaginary part of: conj (0.0 + 0.0 i) == 0.0 - 0 i": | |
847 | double: 4503599627370496 | |
848 | idouble: 4503599627370496 | |
849 | Test "Imaginary part of: conj (0.0 - 0 i) == 0.0 + 0.0 i": | |
850 | double: 4503599627370496 | |
851 | idouble: 4503599627370496 | |
852 | ||
853 | # copysign | |
854 | Test "copysign (-0, -4) == -0": | |
855 | double: 13510798882111488 | |
856 | idouble: 13510798882111488 | |
857 | Test "copysign (-0, 4) == 0": | |
858 | double: 18014398509481984 | |
859 | idouble: 18014398509481984 | |
860 | Test "copysign (0, -4) == -0": | |
861 | double: 13510798882111488 | |
862 | idouble: 13510798882111488 | |
863 | Test "copysign (0, 4) == 0": | |
864 | double: 18014398509481984 | |
865 | idouble: 18014398509481984 | |
866 | ||
c9cf6dde | 867 | # cos |
df5e9fa6 AJ |
868 | Test "cos (-0) == 1": |
869 | double: 2070294363995322 | |
870 | idouble: 2070294363995322 | |
c9cf6dde AJ |
871 | Test "cos (0.7) == 0.76484218728448842625585999019186495": |
872 | double: 1 | |
873 | float: 1 | |
874 | idouble: 1 | |
875 | ifloat: 1 | |
876 | Test "cos (M_PI_6l * 2.0) == 0.5": | |
877 | double: 1 | |
878 | float: 0.5 | |
879 | idouble: 1 | |
df5e9fa6 | 880 | ifloat: 1 |
c9cf6dde AJ |
881 | Test "cos (M_PI_6l * 4.0) == -0.5": |
882 | double: 2 | |
883 | float: 1 | |
884 | idouble: 2 | |
885 | ifloat: 1 | |
886 | ildouble: 0.5 | |
887 | ldouble: 0.5 | |
888 | Test "cos (pi/2) == 0": | |
889 | double: 1 | |
890 | float: 1 | |
891 | idouble: 1 | |
892 | ifloat: 1 | |
893 | ildouble: 0.25 | |
894 | ldouble: 0.25 | |
895 | ||
896 | # cosh | |
df5e9fa6 AJ |
897 | Test "cosh (-0) == 1": |
898 | double: 2445817744586064 | |
899 | idouble: 2445817744586064 | |
c9cf6dde AJ |
900 | Test "cosh (0.7) == 1.255169005630943018": |
901 | ildouble: 2 | |
902 | ldouble: 2 | |
903 | ||
904 | # cpow | |
df5e9fa6 AJ |
905 | Test "Real part of: cpow (0.75 + 1.25 i, 0.0 + 1.0 i) == 0.331825439177608832276067945276730566 + 0.131338600281188544930936345230903032 i": |
906 | float: 1 | |
907 | ifloat: 1 | |
908 | Test "Imaginary part of: cpow (0.75 + 1.25 i, 0.0 + 1.0 i) == 0.331825439177608832276067945276730566 + 0.131338600281188544930936345230903032 i": | |
909 | float: 1 | |
910 | ifloat: 1 | |
911 | ildouble: 1 | |
912 | ldouble: 1 | |
913 | Test "Real part of: cpow (0.75 + 1.25 i, 0.75 + 1.25 i) == 0.117506293914473555420279832210420483 + 0.346552747708338676483025352060418001 i": | |
914 | double: 1 | |
915 | float: 4 | |
916 | idouble: 1 | |
917 | ifloat: 4 | |
918 | ildouble: 5 | |
919 | ldouble: 5 | |
920 | Test "Imaginary part of: cpow (0.75 + 1.25 i, 0.75 + 1.25 i) == 0.117506293914473555420279832210420483 + 0.346552747708338676483025352060418001 i": | |
921 | ildouble: 2 | |
922 | ldouble: 2 | |
923 | Test "Real part of: cpow (0.75 + 1.25 i, 1.0 + 0.0 i) == 0.75 + 1.25 i": | |
924 | ildouble: 1 | |
925 | ldouble: 1 | |
926 | Test "Real part of: cpow (0.75 + 1.25 i, 1.0 + 1.0 i) == 0.0846958290317209430433805274189191353 + 0.513285749182902449043287190519090481 i": | |
927 | double: 2 | |
928 | float: 3 | |
929 | idouble: 2 | |
930 | ifloat: 3 | |
931 | ildouble: 3 | |
932 | ldouble: 3 | |
933 | Test "Real part of: cpow (2 + 0 i, 10 + 0 i) == 1024.0 + 0.0 i": | |
934 | ildouble: 1 | |
935 | ldouble: 1 | |
c9cf6dde AJ |
936 | Test "Real part of: cpow (2 + 3 i, 4 + 0 i) == -119.0 - 120.0 i": |
937 | double: 1 | |
938 | float: 4 | |
939 | idouble: 1 | |
940 | ifloat: 4 | |
941 | Test "Imaginary part of: cpow (2 + 3 i, 4 + 0 i) == -119.0 - 120.0 i": | |
942 | float: 2 | |
943 | ifloat: 2 | |
944 | ildouble: 2 | |
945 | ldouble: 2 | |
946 | Test "Imaginary part of: cpow (e + 0 i, 0 + 2 * M_PIl i) == 1.0 + 0.0 i": | |
947 | double: 2 | |
948 | float: 2 | |
949 | idouble: 2 | |
950 | ifloat: 2 | |
951 | ildouble: 1 | |
952 | ldouble: 1 | |
df5e9fa6 AJ |
953 | |
954 | # cproj | |
955 | Test "Real part of: cproj (-0 - 0 i) == -0 - 0 i": | |
956 | double: 1501199875790166 | |
957 | idouble: 1501199875790166 | |
958 | Test "Imaginary part of: cproj (-0 - 0 i) == -0 - 0 i": | |
959 | double: 1501199875790166 | |
960 | idouble: 1501199875790166 | |
c9cf6dde AJ |
961 | |
962 | # csin | |
df5e9fa6 AJ |
963 | Test "Real part of: csin (-0 + 0.0 i) == -0 + 0.0 i": |
964 | double: 713951213746569 | |
965 | idouble: 713951213746569 | |
966 | Test "Real part of: csin (-0 + inf i) == -0 + inf i": | |
967 | double: 713951213746569 | |
968 | idouble: 713951213746569 | |
969 | Test "Real part of: csin (-0 - 0 i) == -0 - 0 i": | |
970 | double: 1344133452450895 | |
971 | idouble: 1344133452450895 | |
972 | Test "Imaginary part of: csin (-0 - 0 i) == -0 - 0 i": | |
973 | double: 1643976377352247 | |
974 | idouble: 1643976377352247 | |
975 | Test "Real part of: csin (-0 - inf i) == -0 - inf i": | |
976 | double: 713951213746569 | |
977 | idouble: 713951213746569 | |
978 | Test "Real part of: csin (0.0 + NaN i) == 0.0 + NaN i": | |
979 | double: 4503599627370496 | |
980 | idouble: 4503599627370496 | |
981 | Test "Real part of: csin (0.0 + inf i) == 0.0 + inf i": | |
982 | double: 4503599627370496 | |
983 | idouble: 4503599627370496 | |
984 | Test "Imaginary part of: csin (0.0 - 0 i) == 0 - 0 i": | |
985 | double: 78903603040909 | |
986 | idouble: 78903603040909 | |
987 | Test "Real part of: csin (0.0 - inf i) == 0.0 - inf i": | |
988 | double: 4503599627370496 | |
989 | idouble: 4503599627370496 | |
c9cf6dde AJ |
990 | Test "Imaginary part of: csin (0.7 + 1.2 i) == 1.1664563419657581376 + 1.1544997246948547371 i": |
991 | float: 1 | |
992 | ifloat: 1 | |
993 | ildouble: 2 | |
994 | ldouble: 2 | |
df5e9fa6 AJ |
995 | Test "Real part of: csin (0.75 + 1.25 i) == 1.28722291002649188575873510790565441 + 1.17210635989270256101081285116138863 i": |
996 | ildouble: 1 | |
997 | ldouble: 1 | |
c9cf6dde AJ |
998 | |
999 | # csinh | |
df5e9fa6 AJ |
1000 | Test "Real part of: csinh (-0 + 0.0 i) == -0 + 0.0 i": |
1001 | double: 78903603040909 | |
1002 | idouble: 78903603040909 | |
1003 | Test "Real part of: csinh (-0 - 0 i) == -0 - 0 i": | |
1004 | double: 1643976377352247 | |
1005 | idouble: 1643976377352247 | |
1006 | Test "Imaginary part of: csinh (-0 - 0 i) == -0 - 0 i": | |
1007 | double: 1344133452450895 | |
1008 | idouble: 1344133452450895 | |
c9cf6dde AJ |
1009 | Test "Imaginary part of: csinh (-2 - 3 i) == 3.5905645899857799520 - 0.5309210862485198052 i": |
1010 | double: 1 | |
1011 | idouble: 1 | |
1012 | ildouble: 2 | |
1013 | ldouble: 2 | |
df5e9fa6 AJ |
1014 | Test "Imaginary part of: csinh (-inf - 0 i) == -inf - 0 i": |
1015 | double: 713951213746569 | |
1016 | idouble: 713951213746569 | |
1017 | Test "Real part of: csinh (0.0 + NaN i) == 0.0 + NaN i plus sign of zero/inf not specified": | |
1018 | double: 4503599627370496 | |
1019 | idouble: 4503599627370496 | |
1020 | Test "Real part of: csinh (0.0 + inf i) == 0.0 + NaN i plus invalid exception and sign of zero/inf not specified": | |
1021 | double: 4503599627370496 | |
1022 | idouble: 4503599627370496 | |
1023 | Test "Imaginary part of: csinh (0.0 - 0 i) == 0.0 - 0 i": | |
1024 | double: 713951213746569 | |
1025 | idouble: 713951213746569 | |
1026 | Test "Real part of: csinh (0.0 - inf i) == 0.0 + NaN i plus invalid exception and sign of zero/inf not specified": | |
1027 | double: 4503599627370496 | |
1028 | idouble: 4503599627370496 | |
c9cf6dde AJ |
1029 | Test "Real part of: csinh (0.7 + 1.2 i) == 0.27487868678117583582 + 1.1698665727426565139 i": |
1030 | float: 1 | |
1031 | ifloat: 1 | |
1032 | ildouble: 2 | |
1033 | ldouble: 2 | |
1034 | Test "Imaginary part of: csinh (0.7 + 1.2 i) == 0.27487868678117583582 + 1.1698665727426565139 i": | |
1035 | float: 1 | |
1036 | ifloat: 1 | |
df5e9fa6 AJ |
1037 | Test "Real part of: csinh (0.75 + 1.25 i) == 0.259294854551162779153349830618433028 + 1.22863452409509552219214606515777594 i": |
1038 | float: 1 | |
1039 | ifloat: 1 | |
1040 | ildouble: 1 | |
1041 | ldouble: 1 | |
1042 | Test "Imaginary part of: csinh (0.75 + 1.25 i) == 0.259294854551162779153349830618433028 + 1.22863452409509552219214606515777594 i": | |
1043 | float: 1 | |
1044 | ifloat: 1 | |
1045 | Test "Imaginary part of: csinh (inf - 0 i) == inf - 0 i": | |
1046 | double: 713951213746569 | |
1047 | idouble: 713951213746569 | |
c9cf6dde AJ |
1048 | |
1049 | # csqrt | |
df5e9fa6 AJ |
1050 | Test "Real part of: csqrt (-0 + 0 i) == 0.0 + 0.0 i": |
1051 | double: 4503599627370496 | |
1052 | idouble: 4503599627370496 | |
1053 | Test "Real part of: csqrt (-0 - 0 i) == 0.0 - 0 i": | |
1054 | double: 4948033364011513 | |
1055 | idouble: 4948033364011513 | |
1056 | Test "Imaginary part of: csqrt (-1 + 0 i) == 0.0 + 1.0 i": | |
1057 | double: 4503599627370496 | |
1058 | idouble: 4503599627370496 | |
c9cf6dde AJ |
1059 | Test "Real part of: csqrt (-2 + 3 i) == 0.89597747612983812471573375529004348 + 1.6741492280355400404480393008490519 i": |
1060 | float: 1 | |
1061 | ifloat: 1 | |
df5e9fa6 AJ |
1062 | Test "Imaginary part of: csqrt (-2 + 3 i) == 0.89597747612983812471573375529004348 + 1.6741492280355400404480393008490519 i": |
1063 | double: 5971101042568026 | |
1064 | idouble: 5971101042568026 | |
c9cf6dde AJ |
1065 | Test "Real part of: csqrt (-2 - 3 i) == 0.89597747612983812471573375529004348 - 1.6741492280355400404480393008490519 i": |
1066 | float: 1 | |
1067 | ifloat: 1 | |
df5e9fa6 AJ |
1068 | Test "Imaginary part of: csqrt (-2 - 3 i) == 0.89597747612983812471573375529004348 - 1.6741492280355400404480393008490519 i": |
1069 | double: 21050496721654952 | |
1070 | idouble: 21050496721654952 | |
1071 | Test "Real part of: csqrt (0 + 2 i) == 1.0 + 1.0 i": | |
1072 | double: 4503599627370496 | |
1073 | idouble: 4503599627370496 | |
1074 | Test "Real part of: csqrt (0 - 0 i) == 0 - 0 i": | |
1075 | double: 4503599627370496 | |
1076 | idouble: 4503599627370496 | |
1077 | Test "Imaginary part of: csqrt (0 - 0 i) == 0 - 0 i": | |
1078 | double: 131907379110761 | |
1079 | idouble: 131907379110761 | |
c9cf6dde AJ |
1080 | Test "Real part of: csqrt (0.7 + 1.2 i) == 1.022067610030026450706487883081139 + 0.58704531296356521154977678719838035 i": |
1081 | double: 1 | |
1082 | float: 1 | |
1083 | idouble: 1 | |
1084 | ifloat: 1 | |
1085 | Test "Imaginary part of: csqrt (0.7 + 1.2 i) == 1.022067610030026450706487883081139 + 0.58704531296356521154977678719838035 i": | |
1086 | float: 1 | |
1087 | ifloat: 1 | |
df5e9fa6 AJ |
1088 | Test "Imaginary part of: csqrt (0.75 + 1.25 i) == 1.05065169626078392338656675760808326 + 0.594868882070379067881984030639932657 i": |
1089 | double: 5900896517173315 | |
1090 | idouble: 5900896517173315 | |
1091 | Test "Imaginary part of: csqrt (119 + 120 i) == 12.0 + 5.0 i": | |
1092 | double: 12947848928690176 | |
1093 | idouble: 12947848928690176 | |
1094 | Test "Imaginary part of: csqrt (16.0 - 30.0 i) == 5.0 - 3.0 i": | |
1095 | double: 60798594969501696 | |
1096 | idouble: 60798594969501696 | |
1097 | Test "Imaginary part of: csqrt (inf + 6 i) == inf + 0.0 i": | |
1098 | double: 27021597764222976 | |
1099 | idouble: 27021597764222976 | |
1100 | Test "Imaginary part of: csqrt (inf - 6 i) == inf - 0 i": | |
1101 | double: 2251799813685248 | |
1102 | idouble: 2251799813685248 | |
c9cf6dde AJ |
1103 | |
1104 | # ctan | |
df5e9fa6 AJ |
1105 | Test "Real part of: ctan (-0 + 0 i) == -0 + 0.0 i": |
1106 | double: 2510341221049253 | |
1107 | idouble: 2510341221049253 | |
1108 | Test "Real part of: ctan (-0 - 0 i) == -0 - 0 i": | |
1109 | double: 3279734785388574 | |
1110 | idouble: 3279734785388574 | |
1111 | Test "Imaginary part of: ctan (-0 - 0 i) == -0 - 0 i": | |
1112 | double: 377957065730238 | |
1113 | idouble: 377957065730238 | |
c9cf6dde AJ |
1114 | Test "Real part of: ctan (-2 - 3 i) == 0.0037640256415042482 - 1.0032386273536098014 i": |
1115 | double: 1 | |
1116 | idouble: 1 | |
1117 | ildouble: 439 | |
1118 | ldouble: 439 | |
1119 | Test "Imaginary part of: ctan (-2 - 3 i) == 0.0037640256415042482 - 1.0032386273536098014 i": | |
1120 | ildouble: 2 | |
1121 | ldouble: 2 | |
df5e9fa6 AJ |
1122 | Test "Imaginary part of: ctan (0 - 0 i) == 0.0 - 0 i": |
1123 | double: 1073684470400566 | |
1124 | idouble: 1073684470400566 | |
c9cf6dde AJ |
1125 | Test "Real part of: ctan (0.7 + 1.2 i) == 0.1720734197630349001 + 0.9544807059989405538 i": |
1126 | float: 1 | |
1127 | ifloat: 1 | |
1128 | ildouble: 1 | |
1129 | ldouble: 1 | |
1130 | Test "Imaginary part of: ctan (0.7 + 1.2 i) == 0.1720734197630349001 + 0.9544807059989405538 i": | |
1131 | double: 1 | |
1132 | float: 1 | |
1133 | idouble: 1 | |
1134 | ifloat: 1 | |
1135 | ildouble: 2 | |
1136 | ldouble: 2 | |
df5e9fa6 AJ |
1137 | Test "Real part of: ctan (0.75 + 1.25 i) == 0.160807785916206426725166058173438663 + 0.975363285031235646193581759755216379 i": |
1138 | ildouble: 1 | |
1139 | ldouble: 1 | |
1140 | Test "Imaginary part of: ctan (0.75 + 1.25 i) == 0.160807785916206426725166058173438663 + 0.975363285031235646193581759755216379 i": | |
1141 | double: 1 | |
1142 | idouble: 1 | |
1143 | ildouble: 3 | |
1144 | ldouble: 3 | |
1145 | Test "Real part of: ctan (1 + inf i) == 0.0 + 1.0 i": | |
1146 | double: 4503599627370496 | |
1147 | idouble: 4503599627370496 | |
1148 | Test "Real part of: ctan (1 - inf i) == 0.0 - 1.0 i": | |
1149 | double: 4503599627370496 | |
1150 | idouble: 4503599627370496 | |
c9cf6dde AJ |
1151 | |
1152 | # ctanh | |
df5e9fa6 AJ |
1153 | Test "Real part of: ctanh (-0 + 0 i) == -0 + 0.0 i": |
1154 | double: 1073684470400566 | |
1155 | idouble: 1073684470400566 | |
1156 | Test "Real part of: ctanh (-0 - 0 i) == -0 - 0 i": | |
1157 | double: 377957065730238 | |
1158 | idouble: 377957065730238 | |
1159 | Test "Imaginary part of: ctanh (-0 - 0 i) == -0 - 0 i": | |
1160 | double: 3279734785388574 | |
1161 | idouble: 3279734785388574 | |
c9cf6dde AJ |
1162 | Test "Real part of: ctanh (-2 - 3 i) == -0.9653858790221331242 + 0.0098843750383224937 i": |
1163 | double: 1 | |
1164 | float: 2 | |
1165 | idouble: 1 | |
1166 | ifloat: 2 | |
1167 | ildouble: 5 | |
1168 | ldouble: 5 | |
1169 | Test "Imaginary part of: ctanh (-2 - 3 i) == -0.9653858790221331242 + 0.0098843750383224937 i": | |
1170 | ildouble: 25 | |
1171 | ldouble: 25 | |
df5e9fa6 AJ |
1172 | Test "Imaginary part of: ctanh (-inf + 1 i) == -1.0 + 0.0 i": |
1173 | double: 4503599627370496 | |
1174 | idouble: 4503599627370496 | |
c9cf6dde AJ |
1175 | Test "Imaginary part of: ctanh (0 + pi/4 i) == 0.0 + 1.0 i": |
1176 | float: 1 | |
1177 | ifloat: 1 | |
df5e9fa6 AJ |
1178 | Test "Imaginary part of: ctanh (0 - 0 i) == 0.0 - 0 i": |
1179 | double: 2510341221049253 | |
1180 | idouble: 2510341221049253 | |
c9cf6dde AJ |
1181 | Test "Real part of: ctanh (0.7 + 1.2 i) == 1.3472197399061191630 + 0.4778641038326365540 i": |
1182 | double: 2 | |
1183 | float: 1 | |
1184 | idouble: 2 | |
1185 | ifloat: 1 | |
1186 | ildouble: 1 | |
1187 | ldouble: 1 | |
1188 | Test "Imaginary part of: ctanh (0.7 + 1.2 i) == 1.3472197399061191630 + 0.4778641038326365540 i": | |
1189 | double: 2 | |
1190 | float: 1 | |
1191 | idouble: 2 | |
1192 | ifloat: 1 | |
1193 | ildouble: 1 | |
1194 | ldouble: 1 | |
df5e9fa6 AJ |
1195 | Test "Real part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i": |
1196 | double: 1 | |
1197 | idouble: 1 | |
1198 | Test "Imaginary part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i": | |
1199 | double: 1 | |
1200 | idouble: 1 | |
1201 | ildouble: 1 | |
1202 | ldouble: 1 | |
1203 | Test "Imaginary part of: ctanh (inf + 1 i) == 1.0 + 0.0 i": | |
1204 | double: 4503599627370496 | |
1205 | idouble: 4503599627370496 | |
1206 | ||
1207 | # erf | |
1208 | Test "erf (-0) == -0": | |
1209 | double: 708412650257339 | |
1210 | idouble: 708412650257339 | |
1211 | Test "erf (1.25) == 0.922900128256458230136523481197281140": | |
1212 | double: 1 | |
1213 | idouble: 1 | |
c9cf6dde AJ |
1214 | |
1215 | # erfc | |
df5e9fa6 AJ |
1216 | Test "erfc (-0) == 1.0": |
1217 | double: 3795186977113158 | |
1218 | idouble: 3795186977113158 | |
c9cf6dde AJ |
1219 | Test "erfc (0.7) == 0.32219880616258152702": |
1220 | double: 1 | |
1221 | idouble: 1 | |
1222 | ildouble: 1 | |
1223 | ldouble: 1 | |
1224 | Test "erfc (1.2) == 0.089686021770364619762": | |
1225 | double: 2 | |
1226 | float: 2 | |
1227 | idouble: 2 | |
1228 | ifloat: 2 | |
1229 | ildouble: 3 | |
1230 | ldouble: 3 | |
df5e9fa6 AJ |
1231 | Test "erfc (1.25) == 0.0770998717435417698634765188027188596": |
1232 | ildouble: 1 | |
1233 | ldouble: 1 | |
c9cf6dde AJ |
1234 | Test "erfc (2.0) == 0.0046777349810472658379": |
1235 | double: 1 | |
1236 | idouble: 1 | |
df5e9fa6 AJ |
1237 | Test "erfc (2.0) == 0.00467773498104726583793074363274707139": |
1238 | double: 1 | |
1239 | idouble: 1 | |
c9cf6dde AJ |
1240 | Test "erfc (4.1) == 0.67000276540848983727e-8": |
1241 | double: 24 | |
1242 | float: 12 | |
1243 | idouble: 24 | |
1244 | ifloat: 12 | |
1245 | ildouble: 12 | |
1246 | ldouble: 12 | |
df5e9fa6 AJ |
1247 | Test "erfc (4.125) == 0.542340079956506600531223408575531062e-8": |
1248 | double: 1 | |
1249 | idouble: 1 | |
1250 | ildouble: 1 | |
1251 | ldouble: 1 | |
c9cf6dde AJ |
1252 | Test "erfc (9) == 0.41370317465138102381e-36": |
1253 | ildouble: 36 | |
1254 | ldouble: 36 | |
1255 | ||
df5e9fa6 AJ |
1256 | # exp |
1257 | Test "exp (-0) == 1": | |
1258 | double: 773845340236565 | |
1259 | idouble: 773845340236565 | |
1260 | ||
c9cf6dde | 1261 | # exp10 |
df5e9fa6 AJ |
1262 | Test "exp10 (-0) == 1": |
1263 | double: 40532396646334472 | |
1264 | idouble: 40532396646334472 | |
c9cf6dde AJ |
1265 | Test "exp10 (-1) == 0.1": |
1266 | double: 2 | |
1267 | float: 1 | |
1268 | idouble: 2 | |
1269 | ifloat: 1 | |
df5e9fa6 AJ |
1270 | ildouble: 1 |
1271 | ldouble: 1 | |
c9cf6dde AJ |
1272 | Test "exp10 (0.7) == 5.0118723362727228500155418688494574": |
1273 | float: 1 | |
1274 | ifloat: 1 | |
1275 | ildouble: 1 | |
1276 | ldouble: 1 | |
df5e9fa6 AJ |
1277 | Test "exp10 (0.75) == 5.62341325190349080394951039776481231": |
1278 | double: 1 | |
1279 | float: 1 | |
1280 | idouble: 1 | |
1281 | ifloat: 1 | |
1282 | ildouble: 1 | |
1283 | ldouble: 1 | |
c9cf6dde AJ |
1284 | Test "exp10 (3) == 1000": |
1285 | double: 6 | |
1286 | float: 2 | |
1287 | idouble: 6 | |
1288 | ifloat: 2 | |
1289 | ildouble: 3 | |
1290 | ldouble: 3 | |
1291 | ||
df5e9fa6 AJ |
1292 | # exp2 |
1293 | Test "exp2 (-0) == 1": | |
1294 | double: 4503599627370496 | |
1295 | idouble: 4503599627370496 | |
1296 | ||
c9cf6dde | 1297 | # expm1 |
df5e9fa6 AJ |
1298 | Test "expm1 (-0) == -0": |
1299 | double: 3234853774995154 | |
1300 | idouble: 3234853774995154 | |
c9cf6dde AJ |
1301 | Test "expm1 (0.7) == 1.0137527074704765216": |
1302 | ildouble: 1 | |
1303 | ldouble: 1 | |
df5e9fa6 AJ |
1304 | Test "expm1 (0.75) == 1.11700001661267466854536981983709561": |
1305 | double: 1 | |
1306 | idouble: 1 | |
c9cf6dde AJ |
1307 | Test "expm1 (1) == M_El - 1.0": |
1308 | double: 1 | |
1309 | float: 1 | |
1310 | idouble: 1 | |
1311 | ifloat: 1 | |
1312 | ||
df5e9fa6 AJ |
1313 | # fabs |
1314 | Test "fabs (-0) == 0": | |
1315 | double: 4503599627370496 | |
1316 | idouble: 4503599627370496 | |
1317 | ||
c9cf6dde AJ |
1318 | # fmod |
1319 | Test "fmod (-6.5, -2.3) == -1.9": | |
1320 | double: 2 | |
1321 | float: 1 | |
1322 | idouble: 2 | |
1323 | ifloat: 1 | |
1324 | ildouble: 1 | |
1325 | ldouble: 1 | |
1326 | Test "fmod (-6.5, 2.3) == -1.9": | |
1327 | double: 2 | |
1328 | float: 1 | |
1329 | idouble: 2 | |
1330 | ifloat: 1 | |
1331 | ildouble: 1 | |
1332 | ldouble: 1 | |
1333 | Test "fmod (6.5, -2.3) == 1.9": | |
1334 | double: 2 | |
1335 | float: 1 | |
1336 | idouble: 2 | |
1337 | ifloat: 1 | |
1338 | ildouble: 1 | |
1339 | ldouble: 1 | |
1340 | Test "fmod (6.5, 2.3) == 1.9": | |
1341 | double: 2 | |
1342 | float: 1 | |
1343 | idouble: 2 | |
1344 | ifloat: 1 | |
1345 | ildouble: 1 | |
1346 | ldouble: 1 | |
1347 | ||
df5e9fa6 AJ |
1348 | # fpclassify |
1349 | Test "fpclassify (-0) == FP_ZERO": | |
1350 | double: 2 | |
1351 | idouble: 2 | |
1352 | ||
1353 | # frexp | |
1354 | Test "frexp (-0, &x) == -0": | |
1355 | double: 2251799813685248 | |
1356 | idouble: 2251799813685248 | |
1357 | Test "frexp (-0, &x) sets x to 0.0": | |
1358 | double: 1 | |
1359 | idouble: 1 | |
1360 | ||
c9cf6dde AJ |
1361 | # gamma |
1362 | Test "gamma (-0.5) == log(2*sqrt(pi))": | |
1363 | ildouble: 1 | |
1364 | ldouble: 1 | |
1365 | ||
1366 | # hypot | |
1367 | Test "hypot (-0.7, -12.4) == 12.419742348374220601176836866763271": | |
1368 | float: 1 | |
1369 | ifloat: 1 | |
1370 | Test "hypot (-0.7, 12.4) == 12.419742348374220601176836866763271": | |
1371 | float: 1 | |
1372 | ifloat: 1 | |
1373 | Test "hypot (-12.4, -0.7) == 12.419742348374220601176836866763271": | |
1374 | float: 1 | |
1375 | ifloat: 1 | |
1376 | Test "hypot (-12.4, 0.7) == 12.419742348374220601176836866763271": | |
1377 | float: 1 | |
1378 | ifloat: 1 | |
1379 | Test "hypot (0.7, -12.4) == 12.419742348374220601176836866763271": | |
1380 | float: 1 | |
1381 | ifloat: 1 | |
1382 | Test "hypot (0.7, 1.2) == 1.3892443989449804508432547041028554": | |
1383 | double: 1 | |
1384 | idouble: 1 | |
1385 | ildouble: 1 | |
1386 | ldouble: 1 | |
1387 | Test "hypot (0.7, 12.4) == 12.419742348374220601176836866763271": | |
1388 | float: 1 | |
1389 | ifloat: 1 | |
1390 | Test "hypot (12.4, -0.7) == 12.419742348374220601176836866763271": | |
1391 | float: 1 | |
1392 | ifloat: 1 | |
1393 | Test "hypot (12.4, 0.7) == 12.419742348374220601176836866763271": | |
1394 | float: 1 | |
1395 | ifloat: 1 | |
1396 | ||
1397 | # j0 | |
df5e9fa6 AJ |
1398 | Test "j0 (-4.0) == -3.9714980986384737228659076845169804197562E-1": |
1399 | double: 1 | |
1400 | float: 1 | |
1401 | idouble: 1 | |
1402 | ifloat: 1 | |
1403 | ildouble: 1 | |
1404 | ldouble: 1 | |
1405 | Test "j0 (0.75) == 0.864242275166648623555731103820923211": | |
1406 | float: 1 | |
1407 | ifloat: 1 | |
1408 | Test "j0 (10.0) == -0.245935764451348335197760862485328754": | |
1409 | double: 2 | |
1410 | float: 1 | |
1411 | idouble: 2 | |
1412 | ifloat: 1 | |
c9cf6dde AJ |
1413 | Test "j0 (10.0) == -0.24593576445134833520": |
1414 | double: 2 | |
1415 | float: 1 | |
1416 | idouble: 2 | |
1417 | ifloat: 1 | |
1418 | Test "j0 (2.0) == 0.22389077914123566805": | |
1419 | float: 2 | |
1420 | ifloat: 2 | |
df5e9fa6 AJ |
1421 | Test "j0 (2.0) == 0.223890779141235668051827454649948626": |
1422 | float: 2 | |
1423 | ifloat: 2 | |
1424 | Test "j0 (4.0) == -3.9714980986384737228659076845169804197562E-1": | |
1425 | double: 1 | |
1426 | float: 1 | |
1427 | idouble: 1 | |
1428 | ifloat: 1 | |
1429 | ildouble: 1 | |
1430 | ldouble: 1 | |
c9cf6dde AJ |
1431 | Test "j0 (8.0) == 0.17165080713755390609": |
1432 | float: 1 | |
1433 | ifloat: 1 | |
df5e9fa6 AJ |
1434 | Test "j0 (8.0) == 0.171650807137553906090869407851972001": |
1435 | float: 1 | |
1436 | ifloat: 1 | |
c9cf6dde AJ |
1437 | |
1438 | # j1 | |
df5e9fa6 AJ |
1439 | Test "j1 (10.0) == 0.0434727461688614366697487680258592883": |
1440 | float: 2 | |
1441 | ifloat: 2 | |
1442 | ildouble: 1 | |
1443 | ldouble: 1 | |
c9cf6dde AJ |
1444 | Test "j1 (10.0) == 0.043472746168861436670": |
1445 | float: 2 | |
1446 | ifloat: 2 | |
1447 | ildouble: 2 | |
1448 | ldouble: 2 | |
1449 | Test "j1 (2.0) == 0.57672480775687338720": | |
1450 | double: 1 | |
1451 | idouble: 1 | |
df5e9fa6 AJ |
1452 | Test "j1 (2.0) == 0.576724807756873387202448242269137087": |
1453 | double: 1 | |
1454 | idouble: 1 | |
c9cf6dde AJ |
1455 | Test "j1 (8.0) == 0.23463634685391462438": |
1456 | double: 1 | |
1457 | idouble: 1 | |
1458 | ildouble: 1 | |
1459 | ldouble: 1 | |
df5e9fa6 AJ |
1460 | Test "j1 (8.0) == 0.234636346853914624381276651590454612": |
1461 | double: 1 | |
1462 | idouble: 1 | |
1463 | ildouble: 1 | |
1464 | ldouble: 1 | |
c9cf6dde AJ |
1465 | |
1466 | # jn | |
df5e9fa6 AJ |
1467 | Test "jn (0, -4.0) == -3.9714980986384737228659076845169804197562E-1": |
1468 | double: 1 | |
1469 | float: 1 | |
1470 | idouble: 1 | |
1471 | ifloat: 1 | |
1472 | ildouble: 1 | |
1473 | ldouble: 1 | |
1474 | Test "jn (0, 0.75) == 0.864242275166648623555731103820923211": | |
1475 | float: 1 | |
1476 | ifloat: 1 | |
1477 | Test "jn (0, 10.0) == -0.245935764451348335197760862485328754": | |
1478 | double: 2 | |
1479 | float: 1 | |
1480 | idouble: 2 | |
1481 | ifloat: 1 | |
c9cf6dde AJ |
1482 | Test "jn (0, 10.0) == -0.24593576445134833520": |
1483 | double: 2 | |
1484 | float: 1 | |
1485 | idouble: 2 | |
1486 | ifloat: 1 | |
1487 | Test "jn (0, 2.0) == 0.22389077914123566805": | |
1488 | float: 2 | |
1489 | ifloat: 2 | |
df5e9fa6 AJ |
1490 | Test "jn (0, 2.0) == 0.223890779141235668051827454649948626": |
1491 | float: 2 | |
1492 | ifloat: 2 | |
1493 | Test "jn (0, 4.0) == -3.9714980986384737228659076845169804197562E-1": | |
1494 | double: 1 | |
1495 | float: 1 | |
1496 | idouble: 1 | |
1497 | ifloat: 1 | |
1498 | ildouble: 1 | |
1499 | ldouble: 1 | |
c9cf6dde AJ |
1500 | Test "jn (0, 8.0) == 0.17165080713755390609": |
1501 | float: 1 | |
1502 | ifloat: 1 | |
df5e9fa6 AJ |
1503 | Test "jn (0, 8.0) == 0.171650807137553906090869407851972001": |
1504 | float: 1 | |
1505 | ifloat: 1 | |
1506 | Test "jn (1, 10.0) == 0.0434727461688614366697487680258592883": | |
1507 | float: 2 | |
1508 | ifloat: 2 | |
1509 | ildouble: 1 | |
1510 | ldouble: 1 | |
c9cf6dde AJ |
1511 | Test "jn (1, 10.0) == 0.043472746168861436670": |
1512 | float: 2 | |
1513 | ifloat: 2 | |
1514 | ildouble: 2 | |
1515 | ldouble: 2 | |
1516 | Test "jn (1, 2.0) == 0.57672480775687338720": | |
1517 | double: 1 | |
1518 | idouble: 1 | |
df5e9fa6 AJ |
1519 | Test "jn (1, 2.0) == 0.576724807756873387202448242269137087": |
1520 | double: 1 | |
1521 | idouble: 1 | |
c9cf6dde AJ |
1522 | Test "jn (1, 8.0) == 0.23463634685391462438": |
1523 | double: 1 | |
1524 | idouble: 1 | |
1525 | ildouble: 1 | |
1526 | ldouble: 1 | |
df5e9fa6 AJ |
1527 | Test "jn (1, 8.0) == 0.234636346853914624381276651590454612": |
1528 | double: 1 | |
1529 | idouble: 1 | |
1530 | ildouble: 1 | |
1531 | ldouble: 1 | |
1532 | Test "jn (10, -1.0) == 0.263061512368745320699785368779050294e-9": | |
1533 | ildouble: 1 | |
1534 | ldouble: 1 | |
c9cf6dde AJ |
1535 | Test "jn (10, -1.0) == 0.26306151236874532070e-9": |
1536 | ildouble: 1 | |
1537 | ldouble: 1 | |
1538 | Test "jn (10, 0.1) == 0.26905328954342155795e-19": | |
1539 | double: 6 | |
1540 | float: 4 | |
1541 | idouble: 6 | |
1542 | ifloat: 4 | |
1543 | ildouble: 1 | |
1544 | ldouble: 1 | |
df5e9fa6 AJ |
1545 | Test "jn (10, 0.125) == 0.250543369809369890173993791865771547e-18": |
1546 | double: 1 | |
1547 | float: 1 | |
1548 | idouble: 1 | |
1549 | ifloat: 1 | |
c9cf6dde AJ |
1550 | Test "jn (10, 0.7) == 0.75175911502153953928e-11": |
1551 | double: 3 | |
1552 | float: 1 | |
1553 | idouble: 3 | |
1554 | ifloat: 1 | |
1555 | ildouble: 2 | |
1556 | ldouble: 2 | |
df5e9fa6 AJ |
1557 | Test "jn (10, 0.75) == 0.149621713117596814698712483621682835e-10": |
1558 | double: 1 | |
1559 | float: 1 | |
1560 | idouble: 1 | |
1561 | ifloat: 1 | |
1562 | ildouble: 2 | |
1563 | ldouble: 2 | |
1564 | Test "jn (10, 1.0) == 0.263061512368745320699785368779050294e-9": | |
1565 | ildouble: 1 | |
1566 | ldouble: 1 | |
c9cf6dde AJ |
1567 | Test "jn (10, 1.0) == 0.26306151236874532070e-9": |
1568 | ildouble: 1 | |
1569 | ldouble: 1 | |
df5e9fa6 AJ |
1570 | Test "jn (10, 10.0) == 0.207486106633358857697278723518753428": |
1571 | double: 4 | |
1572 | float: 3 | |
1573 | idouble: 4 | |
1574 | ifloat: 3 | |
1575 | ildouble: 2 | |
1576 | ldouble: 2 | |
c9cf6dde AJ |
1577 | Test "jn (10, 10.0) == 0.20748610663335885770": |
1578 | double: 4 | |
1579 | float: 3 | |
1580 | idouble: 4 | |
1581 | ifloat: 3 | |
1582 | ildouble: 2 | |
1583 | ldouble: 2 | |
df5e9fa6 AJ |
1584 | Test "jn (10, 2.0) == 0.251538628271673670963516093751820639e-6": |
1585 | float: 4 | |
1586 | ifloat: 4 | |
1587 | ildouble: 1 | |
1588 | ldouble: 1 | |
c9cf6dde AJ |
1589 | Test "jn (10, 2.0) == 0.25153862827167367096e-6": |
1590 | float: 4 | |
1591 | ifloat: 4 | |
1592 | ildouble: 1 | |
1593 | ldouble: 1 | |
df5e9fa6 AJ |
1594 | Test "jn (3, -1.0) == -0.0195633539826684059189053216217515083": |
1595 | ildouble: 1 | |
1596 | ldouble: 1 | |
c9cf6dde AJ |
1597 | Test "jn (3, -1.0) == -0.019563353982668405919": |
1598 | ildouble: 1 | |
1599 | ldouble: 1 | |
1600 | Test "jn (3, 0.1) == 0.000020820315754756261429": | |
1601 | double: 1 | |
1602 | idouble: 1 | |
1603 | ildouble: 1 | |
1604 | ldouble: 1 | |
df5e9fa6 AJ |
1605 | Test "jn (3, 0.125) == 0.406503832554912875023029337653442868e-4": |
1606 | double: 1 | |
1607 | float: 1 | |
1608 | idouble: 1 | |
1609 | ifloat: 1 | |
c9cf6dde AJ |
1610 | Test "jn (3, 0.7) == 0.0069296548267508408077": |
1611 | float: 1 | |
1612 | ifloat: 1 | |
df5e9fa6 AJ |
1613 | Test "jn (3, 0.75) == 0.848438342327410884392755236884386804e-2": |
1614 | double: 1 | |
1615 | float: 1 | |
1616 | idouble: 1 | |
1617 | ifloat: 1 | |
1618 | Test "jn (3, 1.0) == 0.0195633539826684059189053216217515083": | |
1619 | ildouble: 1 | |
1620 | ldouble: 1 | |
c9cf6dde AJ |
1621 | Test "jn (3, 1.0) == 0.019563353982668405919": |
1622 | ildouble: 1 | |
1623 | ldouble: 1 | |
df5e9fa6 | 1624 | Test "jn (3, 10.0) == 0.0583793793051868123429354784103409563": |
c9cf6dde AJ |
1625 | double: 3 |
1626 | float: 1 | |
1627 | idouble: 3 | |
1628 | ifloat: 1 | |
1629 | ildouble: 1 | |
1630 | ldouble: 1 | |
df5e9fa6 AJ |
1631 | Test "jn (3, 10.0) == 0.058379379305186812343": |
1632 | double: 3 | |
1633 | float: 1 | |
1634 | idouble: 3 | |
1635 | ifloat: 1 | |
1636 | ildouble: 1 | |
1637 | ldouble: 1 | |
1638 | Test "jn (3, 2.0) == 0.128943249474402051098793332969239835": | |
1639 | double: 1 | |
1640 | float: 2 | |
1641 | idouble: 1 | |
1642 | ifloat: 2 | |
1643 | ildouble: 1 | |
1644 | ldouble: 1 | |
1645 | Test "jn (3, 2.0) == 0.12894324947440205110": | |
c9cf6dde AJ |
1646 | double: 1 |
1647 | float: 2 | |
1648 | idouble: 1 | |
1649 | ifloat: 2 | |
1650 | ||
1651 | # lgamma | |
1652 | Test "lgamma (-0.5) == log(2*sqrt(pi))": | |
1653 | ildouble: 1 | |
1654 | ldouble: 1 | |
1655 | Test "lgamma (0.7) == 0.26086724653166651439": | |
1656 | double: 1 | |
1657 | float: 1 | |
1658 | idouble: 1 | |
1659 | ifloat: 1 | |
1660 | Test "lgamma (1.2) == -0.853740900033158497197e-1": | |
1661 | double: 1 | |
1662 | float: 2 | |
1663 | idouble: 1 | |
1664 | ifloat: 2 | |
1665 | ildouble: 1 | |
1666 | ldouble: 1 | |
1667 | ||
df5e9fa6 AJ |
1668 | # llrint |
1669 | Test "llrint (-0) == 0": | |
1670 | double: 1 | |
1671 | idouble: 1 | |
1672 | ||
1673 | # llround | |
1674 | Test "llround (-0) == 0": | |
1675 | double: 1 | |
1676 | idouble: 1 | |
1677 | ||
c9cf6dde AJ |
1678 | # log |
1679 | Test "log (0.7) == -0.35667494393873237891263871124118447": | |
1680 | double: 1 | |
1681 | float: 1 | |
1682 | idouble: 1 | |
1683 | ifloat: 1 | |
1684 | ildouble: 1 | |
1685 | ldouble: 1 | |
1686 | ||
1687 | # log10 | |
1688 | Test "log10 (0.7) == -0.15490195998574316929": | |
1689 | double: 1 | |
1690 | float: 1 | |
1691 | idouble: 1 | |
1692 | ifloat: 1 | |
df5e9fa6 AJ |
1693 | Test "log10 (0.75) == -0.124938736608299953132449886193870744": |
1694 | double: 1 | |
1695 | float: 2 | |
1696 | idouble: 1 | |
1697 | ifloat: 2 | |
1698 | ildouble: 1 | |
1699 | ldouble: 1 | |
c9cf6dde AJ |
1700 | Test "log10 (e) == log10(e)": |
1701 | float: 1 | |
1702 | ifloat: 1 | |
1703 | ildouble: 1 | |
1704 | ldouble: 1 | |
1705 | ||
1706 | # log1p | |
df5e9fa6 AJ |
1707 | Test "log1p (-0) == -0": |
1708 | double: 1381942243287817 | |
1709 | idouble: 1381942243287817 | |
1710 | Test "log1p (-0.25) == -0.287682072451780927439219005993827432": | |
1711 | float: 1 | |
1712 | ifloat: 1 | |
c9cf6dde AJ |
1713 | Test "log1p (-0.3) == -0.35667494393873237891263871124118447": |
1714 | double: 1 | |
1715 | float: 1 | |
1716 | idouble: 1 | |
1717 | ifloat: 1 | |
1718 | ildouble: 1 | |
1719 | ldouble: 1 | |
1720 | ||
1721 | # log2 | |
1722 | Test "log2 (0.7) == -0.51457317282975824043": | |
1723 | double: 1 | |
1724 | float: 1 | |
1725 | idouble: 1 | |
1726 | ifloat: 1 | |
1727 | ||
df5e9fa6 AJ |
1728 | # lrint |
1729 | Test "lrint (-0) == 0": | |
1730 | double: 1 | |
1731 | idouble: 1 | |
1732 | ||
1733 | # lround | |
1734 | Test "lround (-0) == 0": | |
1735 | double: 1 | |
1736 | idouble: 1 | |
1737 | ||
1738 | # modf | |
1739 | Test "modf (-inf, &x) == -0": | |
1740 | double: 4503599627370496 | |
1741 | idouble: 4503599627370496 | |
1742 | ||
1743 | # nearbyint | |
1744 | Test "nearbyint (-0.5) == -0": | |
1745 | double: 4503599627370496 | |
1746 | idouble: 4503599627370496 | |
1747 | ||
1748 | # nextafter | |
1749 | Test "nextafter (-0, 0) == 0": | |
1750 | double: 4503599627370496 | |
1751 | idouble: 4503599627370496 | |
1752 | Test "nextafter (0, -0) == -0": | |
1753 | double: 4503599627370496 | |
1754 | idouble: 4503599627370496 | |
1755 | ||
1756 | # nexttoward | |
1757 | Test "nexttoward (-0, 0) == 0": | |
1758 | double: 4503599627370496 | |
1759 | idouble: 4503599627370496 | |
1760 | Test "nexttoward (0, -0) == -0": | |
1761 | double: 4503599627370496 | |
1762 | idouble: 4503599627370496 | |
1763 | ||
1764 | # pow | |
1765 | Test "pow (-0, 11.1) == 0": | |
1766 | double: 4503599627370496 | |
1767 | idouble: 4503599627370496 | |
1768 | Test "pow (-0, 2) == 0": | |
1769 | double: 4503599627370496 | |
1770 | idouble: 4503599627370496 | |
1771 | Test "pow (-0, 4) == 0.0": | |
1772 | double: 4503599627370496 | |
1773 | idouble: 4503599627370496 | |
1774 | Test "pow (-10, -0) == 1": | |
1775 | double: 49539595901075456 | |
1776 | idouble: 49539595901075456 | |
1777 | Test "pow (-inf, -1) == -0": | |
1778 | double: 4503599627370496 | |
1779 | Test "pow (-inf, -1001) == -0": | |
1780 | double: 4503599627370496 | |
1781 | Test "pow (-inf, -11) == -0": | |
1782 | double: 4503599627370496 | |
1783 | Test "pow (-inf, -3) == -0": | |
1784 | double: 4503599627370496 | |
1785 | idouble: 4503599627370496 | |
1786 | Test "pow (0, -0) == 1": | |
1787 | double: 4503599627370496 | |
1788 | idouble: 4503599627370496 | |
1789 | Test "pow (10, -0) == 1": | |
1790 | double: 40532396646334464 | |
1791 | idouble: 40532396646334464 | |
1792 | ||
1793 | # round | |
1794 | Test "round (-0.2) == -0": | |
1795 | double: 4503599627370496 | |
1796 | idouble: 4503599627370496 | |
1797 | ||
1798 | # scalb | |
1799 | Test "scalb (-0, -10) == -0": | |
1800 | double: 4499201580859392 | |
1801 | idouble: 4499201580859392 | |
1802 | Test "scalb (-0, -4) == -0": | |
1803 | double: 422212465065984 | |
1804 | idouble: 422212465065984 | |
1805 | Test "scalb (-0, -inf) == -0": | |
1806 | double: 4503599627370496 | |
1807 | idouble: 4503599627370496 | |
1808 | Test "scalb (-0.1, -inf) == -0": | |
1809 | double: 4503599627370496 | |
1810 | idouble: 4503599627370496 | |
1811 | ||
c9cf6dde | 1812 | # sin |
df5e9fa6 AJ |
1813 | Test "sin (-0) == -0": |
1814 | double: 713951213746569 | |
1815 | idouble: 713951213746569 | |
c9cf6dde AJ |
1816 | Test "sin (0.7) == 0.64421768723769105367261435139872014": |
1817 | ildouble: 1 | |
1818 | ldouble: 1 | |
1819 | ||
1820 | # sincos | |
df5e9fa6 AJ |
1821 | Test "sincos (-0, &sin_res, &cos_res) puts -0 in sin_res": |
1822 | double: 713951213746569 | |
1823 | idouble: 713951213746569 | |
1824 | Test "sincos (-0, &sin_res, &cos_res) puts 1 in cos_res": | |
1825 | double: 2070294363995322 | |
1826 | idouble: 2070294363995322 | |
c9cf6dde AJ |
1827 | Test "sincos (0.7, &sin_res, &cos_res) puts 0.64421768723769105367261435139872014 in sin_res": |
1828 | ildouble: 1 | |
1829 | ldouble: 1 | |
1830 | Test "sincos (0.7, &sin_res, &cos_res) puts 0.76484218728448842625585999019186495 in cos_res": | |
1831 | double: 1 | |
1832 | float: 1 | |
1833 | idouble: 1 | |
1834 | ifloat: 1 | |
1835 | Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res": | |
1836 | double: 1 | |
1837 | float: 0.5 | |
1838 | idouble: 1 | |
df5e9fa6 | 1839 | ifloat: 1 |
c9cf6dde AJ |
1840 | Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res": |
1841 | double: 1 | |
1842 | float: 1 | |
1843 | idouble: 1 | |
1844 | ifloat: 1 | |
1845 | ildouble: 1 | |
1846 | ldouble: 1 | |
1847 | Test "sincos (pi/2, &sin_res, &cos_res) puts 0 in cos_res": | |
1848 | double: 0.2758 | |
1849 | float: 0.3667 | |
1850 | idouble: 0.2758 | |
df5e9fa6 | 1851 | ifloat: 1 |
c9cf6dde AJ |
1852 | ildouble: 0.25 |
1853 | ldouble: 0.25 | |
1854 | Test "sincos (pi/6, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in cos_res": | |
1855 | float: 1 | |
1856 | ifloat: 1 | |
1857 | ||
1858 | # sinh | |
df5e9fa6 AJ |
1859 | Test "sinh (-0) == -0": |
1860 | double: 78903603040909 | |
1861 | idouble: 78903603040909 | |
c9cf6dde AJ |
1862 | Test "sinh (0.7) == 0.75858370183953350346": |
1863 | double: 1 | |
1864 | float: 1 | |
1865 | idouble: 1 | |
1866 | ifloat: 1 | |
1867 | ildouble: 1 | |
1868 | ldouble: 1 | |
1869 | ||
1870 | # tan | |
df5e9fa6 AJ |
1871 | Test "tan (-0) == -0": |
1872 | double: 2510341221049254 | |
1873 | idouble: 2510341221049254 | |
c9cf6dde AJ |
1874 | Test "tan (0.7) == 0.84228838046307944812813500221293775": |
1875 | ildouble: 1 | |
1876 | ldouble: 1 | |
1877 | Test "tan (pi/4) == 1": | |
1878 | double: 0.5 | |
1879 | idouble: 0.5 | |
1880 | ||
1881 | # tanh | |
df5e9fa6 AJ |
1882 | Test "tanh (-0) == -0": |
1883 | double: 1073684470400566 | |
1884 | idouble: 1073684470400566 | |
1885 | Test "tanh (-0.7) == -0.60436777711716349631": | |
c9cf6dde AJ |
1886 | double: 1 |
1887 | float: 1 | |
1888 | idouble: 1 | |
1889 | ifloat: 1 | |
1890 | ildouble: 1 | |
1891 | ldouble: 1 | |
df5e9fa6 | 1892 | Test "tanh (0.7) == 0.60436777711716349631": |
c9cf6dde AJ |
1893 | double: 1 |
1894 | float: 1 | |
1895 | idouble: 1 | |
1896 | ifloat: 1 | |
1897 | ildouble: 1 | |
1898 | ldouble: 1 | |
1899 | ||
1900 | # tgamma | |
1901 | Test "tgamma (-0.5) == -2 sqrt (pi)": | |
1902 | double: 1 | |
1903 | float: 1 | |
1904 | idouble: 1 | |
1905 | ifloat: 1 | |
df5e9fa6 AJ |
1906 | ildouble: 1 |
1907 | ldouble: 1 | |
c9cf6dde AJ |
1908 | Test "tgamma (0.5) == sqrt (pi)": |
1909 | float: 1 | |
1910 | ifloat: 1 | |
1911 | Test "tgamma (0.7) == 1.29805533264755778568": | |
1912 | double: 1 | |
1913 | float: 1 | |
1914 | idouble: 1 | |
1915 | ifloat: 1 | |
1916 | Test "tgamma (4) == 6": | |
df5e9fa6 AJ |
1917 | ildouble: 1 |
1918 | ldouble: 1 | |
1919 | ||
1920 | # trunc | |
1921 | Test "trunc (-0.625) == -0": | |
1922 | double: 4503599627370496 | |
1923 | idouble: 4503599627370496 | |
c9cf6dde AJ |
1924 | |
1925 | # y0 | |
df5e9fa6 AJ |
1926 | Test "y0 (0.125) == -1.38968062514384052915582277745018693": |
1927 | ildouble: 1 | |
1928 | ldouble: 1 | |
c9cf6dde AJ |
1929 | Test "y0 (0.7) == -0.19066492933739506743": |
1930 | double: 2 | |
1931 | float: 1 | |
1932 | idouble: 2 | |
1933 | ifloat: 1 | |
1934 | ildouble: 2 | |
1935 | ldouble: 2 | |
df5e9fa6 AJ |
1936 | Test "y0 (1.0) == 0.0882569642156769579829267660235151628": |
1937 | double: 2 | |
1938 | float: 1 | |
1939 | idouble: 2 | |
1940 | ifloat: 1 | |
1941 | ildouble: 1 | |
1942 | ldouble: 1 | |
c9cf6dde AJ |
1943 | Test "y0 (1.0) == 0.088256964215676957983": |
1944 | double: 2 | |
1945 | float: 1 | |
1946 | idouble: 2 | |
1947 | ifloat: 1 | |
df5e9fa6 AJ |
1948 | Test "y0 (1.5) == 0.382448923797758843955068554978089862": |
1949 | double: 2 | |
1950 | float: 1 | |
1951 | idouble: 2 | |
1952 | ifloat: 1 | |
c9cf6dde AJ |
1953 | Test "y0 (1.5) == 0.38244892379775884396": |
1954 | double: 2 | |
1955 | float: 1 | |
1956 | idouble: 2 | |
1957 | ifloat: 1 | |
1958 | Test "y0 (10.0) == 0.055671167283599391424": | |
1959 | float: 1 | |
1960 | ifloat: 1 | |
1961 | ildouble: 1 | |
1962 | ldouble: 1 | |
df5e9fa6 AJ |
1963 | Test "y0 (10.0) == 0.0556711672835993914244598774101900481": |
1964 | float: 1 | |
1965 | ifloat: 1 | |
1966 | ildouble: 1 | |
1967 | ldouble: 1 | |
1968 | Test "y0 (8.0) == 0.223521489387566220527323400498620359": | |
1969 | double: 1 | |
1970 | float: 1 | |
1971 | idouble: 1 | |
1972 | ifloat: 1 | |
1973 | ildouble: 1 | |
1974 | ldouble: 1 | |
c9cf6dde AJ |
1975 | Test "y0 (8.0) == 0.22352148938756622053": |
1976 | double: 1 | |
1977 | float: 1 | |
1978 | idouble: 1 | |
1979 | ifloat: 1 | |
1980 | ildouble: 1 | |
1981 | ldouble: 1 | |
1982 | ||
1983 | # y1 | |
1984 | Test "y1 (0.1) == -6.4589510947020269877": | |
1985 | double: 1 | |
1986 | idouble: 1 | |
1987 | ildouble: 1 | |
1988 | ldouble: 1 | |
df5e9fa6 AJ |
1989 | Test "y1 (0.125) == -5.19993611253477499595928744876579921": |
1990 | double: 1 | |
1991 | idouble: 1 | |
1992 | ildouble: 1 | |
1993 | ldouble: 1 | |
c9cf6dde AJ |
1994 | Test "y1 (0.7) == -1.1032498719076333697": |
1995 | double: 1 | |
1996 | float: 1 | |
1997 | idouble: 1 | |
1998 | ifloat: 1 | |
1999 | Test "y1 (1.5) == -0.41230862697391129595": | |
2000 | float: 1 | |
2001 | ifloat: 1 | |
df5e9fa6 AJ |
2002 | Test "y1 (1.5) == -0.412308626973911295952829820633445323": |
2003 | float: 1 | |
2004 | ifloat: 1 | |
c9cf6dde AJ |
2005 | Test "y1 (10.0) == 0.24901542420695388392": |
2006 | double: 3 | |
2007 | float: 1 | |
2008 | idouble: 3 | |
2009 | ifloat: 1 | |
df5e9fa6 AJ |
2010 | Test "y1 (10.0) == 0.249015424206953883923283474663222803": |
2011 | double: 3 | |
2012 | float: 1 | |
2013 | idouble: 3 | |
2014 | ifloat: 1 | |
2015 | Test "y1 (2.0) == -0.107032431540937546888370772277476637": | |
2016 | double: 1 | |
2017 | float: 1 | |
2018 | idouble: 1 | |
2019 | ifloat: 1 | |
2020 | ildouble: 1 | |
2021 | ldouble: 1 | |
c9cf6dde AJ |
2022 | Test "y1 (2.0) == -0.10703243154093754689": |
2023 | double: 1 | |
2024 | float: 1 | |
2025 | idouble: 1 | |
2026 | ifloat: 1 | |
2027 | ildouble: 1 | |
2028 | ldouble: 1 | |
df5e9fa6 AJ |
2029 | Test "y1 (8.0) == -0.158060461731247494255555266187483550": |
2030 | double: 1 | |
2031 | float: 2 | |
2032 | idouble: 1 | |
2033 | ifloat: 2 | |
2034 | ildouble: 1 | |
2035 | ldouble: 1 | |
c9cf6dde AJ |
2036 | Test "y1 (8.0) == -0.15806046173124749426": |
2037 | double: 1 | |
2038 | float: 2 | |
2039 | idouble: 1 | |
2040 | ifloat: 2 | |
2041 | ildouble: 2 | |
2042 | ldouble: 2 | |
2043 | ||
2044 | # yn | |
df5e9fa6 AJ |
2045 | Test "yn (0, 0.125) == -1.38968062514384052915582277745018693": |
2046 | ildouble: 1 | |
2047 | ldouble: 1 | |
c9cf6dde AJ |
2048 | Test "yn (0, 0.7) == -0.19066492933739506743": |
2049 | double: 2 | |
2050 | float: 1 | |
2051 | idouble: 2 | |
2052 | ifloat: 1 | |
2053 | ildouble: 2 | |
2054 | ldouble: 2 | |
df5e9fa6 AJ |
2055 | Test "yn (0, 1.0) == 0.0882569642156769579829267660235151628": |
2056 | double: 2 | |
2057 | float: 1 | |
2058 | idouble: 2 | |
2059 | ifloat: 1 | |
2060 | ildouble: 1 | |
2061 | ldouble: 1 | |
c9cf6dde AJ |
2062 | Test "yn (0, 1.0) == 0.088256964215676957983": |
2063 | double: 2 | |
2064 | float: 1 | |
2065 | idouble: 2 | |
2066 | ifloat: 1 | |
df5e9fa6 AJ |
2067 | Test "yn (0, 1.5) == 0.382448923797758843955068554978089862": |
2068 | double: 2 | |
2069 | float: 1 | |
2070 | idouble: 2 | |
2071 | ifloat: 1 | |
c9cf6dde AJ |
2072 | Test "yn (0, 1.5) == 0.38244892379775884396": |
2073 | double: 2 | |
2074 | float: 1 | |
2075 | idouble: 2 | |
2076 | ifloat: 1 | |
2077 | Test "yn (0, 10.0) == 0.055671167283599391424": | |
2078 | float: 1 | |
2079 | ifloat: 1 | |
2080 | ildouble: 1 | |
2081 | ldouble: 1 | |
df5e9fa6 AJ |
2082 | Test "yn (0, 10.0) == 0.0556711672835993914244598774101900481": |
2083 | float: 1 | |
2084 | ifloat: 1 | |
2085 | ildouble: 1 | |
2086 | ldouble: 1 | |
2087 | Test "yn (0, 8.0) == 0.223521489387566220527323400498620359": | |
2088 | double: 1 | |
2089 | float: 1 | |
2090 | idouble: 1 | |
2091 | ifloat: 1 | |
2092 | ildouble: 1 | |
2093 | ldouble: 1 | |
c9cf6dde AJ |
2094 | Test "yn (0, 8.0) == 0.22352148938756622053": |
2095 | double: 1 | |
2096 | float: 1 | |
2097 | idouble: 1 | |
2098 | ifloat: 1 | |
2099 | ildouble: 1 | |
2100 | ldouble: 1 | |
2101 | Test "yn (1, 0.1) == -6.4589510947020269877": | |
2102 | double: 1 | |
2103 | idouble: 1 | |
2104 | ildouble: 1 | |
2105 | ldouble: 1 | |
df5e9fa6 AJ |
2106 | Test "yn (1, 0.125) == -5.19993611253477499595928744876579921": |
2107 | double: 1 | |
2108 | idouble: 1 | |
2109 | ildouble: 1 | |
2110 | ldouble: 1 | |
c9cf6dde AJ |
2111 | Test "yn (1, 0.7) == -1.1032498719076333697": |
2112 | double: 1 | |
2113 | float: 1 | |
2114 | idouble: 1 | |
2115 | ifloat: 1 | |
2116 | Test "yn (1, 1.5) == -0.41230862697391129595": | |
2117 | float: 1 | |
2118 | ifloat: 1 | |
df5e9fa6 AJ |
2119 | Test "yn (1, 1.5) == -0.412308626973911295952829820633445323": |
2120 | float: 1 | |
2121 | ifloat: 1 | |
c9cf6dde AJ |
2122 | Test "yn (1, 10.0) == 0.24901542420695388392": |
2123 | double: 3 | |
2124 | float: 1 | |
2125 | idouble: 3 | |
2126 | ifloat: 1 | |
df5e9fa6 AJ |
2127 | Test "yn (1, 10.0) == 0.249015424206953883923283474663222803": |
2128 | double: 3 | |
2129 | float: 1 | |
2130 | idouble: 3 | |
2131 | ifloat: 1 | |
2132 | Test "yn (1, 2.0) == -0.107032431540937546888370772277476637": | |
2133 | double: 1 | |
2134 | float: 1 | |
2135 | idouble: 1 | |
2136 | ifloat: 1 | |
2137 | ildouble: 1 | |
2138 | ldouble: 1 | |
c9cf6dde AJ |
2139 | Test "yn (1, 2.0) == -0.10703243154093754689": |
2140 | double: 1 | |
2141 | float: 1 | |
2142 | idouble: 1 | |
2143 | ifloat: 1 | |
2144 | ildouble: 1 | |
2145 | ldouble: 1 | |
df5e9fa6 AJ |
2146 | Test "yn (1, 8.0) == -0.158060461731247494255555266187483550": |
2147 | double: 1 | |
2148 | float: 2 | |
2149 | idouble: 1 | |
2150 | ifloat: 2 | |
2151 | ildouble: 1 | |
2152 | ldouble: 1 | |
c9cf6dde AJ |
2153 | Test "yn (1, 8.0) == -0.15806046173124749426": |
2154 | double: 1 | |
2155 | float: 2 | |
2156 | idouble: 1 | |
2157 | ifloat: 2 | |
2158 | ildouble: 2 | |
2159 | ldouble: 2 | |
2160 | Test "yn (10, 0.1) == -0.11831335132045197885e19": | |
2161 | double: 2 | |
2162 | float: 2 | |
2163 | idouble: 2 | |
2164 | ifloat: 2 | |
2165 | ildouble: 2 | |
2166 | ldouble: 2 | |
df5e9fa6 AJ |
2167 | Test "yn (10, 0.125) == -127057845771019398.252538486899753195": |
2168 | double: 1 | |
2169 | idouble: 1 | |
2170 | ildouble: 2 | |
2171 | ldouble: 2 | |
c9cf6dde AJ |
2172 | Test "yn (10, 0.7) == -0.42447194260703866924e10": |
2173 | double: 3 | |
2174 | idouble: 3 | |
2175 | ildouble: 7 | |
2176 | ldouble: 7 | |
df5e9fa6 AJ |
2177 | Test "yn (10, 0.75) == -2133501638.90573424452445412893839236": |
2178 | double: 1 | |
2179 | float: 1 | |
2180 | idouble: 1 | |
2181 | ifloat: 1 | |
2182 | ildouble: 4 | |
2183 | ldouble: 4 | |
c9cf6dde AJ |
2184 | Test "yn (10, 1.0) == -0.12161801427868918929e9": |
2185 | double: 1 | |
2186 | idouble: 1 | |
df5e9fa6 AJ |
2187 | Test "yn (10, 1.0) == -121618014.278689189288130426667971145": |
2188 | double: 1 | |
2189 | idouble: 1 | |
c9cf6dde AJ |
2190 | Test "yn (10, 10.0) == -0.35981415218340272205": |
2191 | double: 1 | |
2192 | float: 1 | |
2193 | idouble: 1 | |
2194 | ifloat: 1 | |
df5e9fa6 AJ |
2195 | Test "yn (10, 10.0) == -0.359814152183402722051986577343560609": |
2196 | double: 1 | |
2197 | float: 1 | |
2198 | idouble: 1 | |
2199 | ifloat: 1 | |
2200 | Test "yn (10, 2.0) == -129184.542208039282635913145923304214": | |
2201 | double: 2 | |
2202 | idouble: 2 | |
c9cf6dde AJ |
2203 | Test "yn (10, 2.0) == -129184.54220803928264": |
2204 | double: 2 | |
2205 | idouble: 2 | |
2206 | ildouble: 1 | |
2207 | ldouble: 1 | |
2208 | Test "yn (3, 0.1) == -5099.3323786129048894": | |
2209 | double: 1 | |
2210 | float: 1 | |
2211 | idouble: 1 | |
2212 | ifloat: 1 | |
2213 | ildouble: 2 | |
2214 | ldouble: 2 | |
df5e9fa6 AJ |
2215 | Test "yn (3, 0.125) == -2612.69757350066712600220955744091741": |
2216 | double: 1 | |
2217 | idouble: 1 | |
2218 | ildouble: 1 | |
2219 | ldouble: 1 | |
c9cf6dde AJ |
2220 | Test "yn (3, 0.7) == -15.819479052819633505": |
2221 | double: 3 | |
2222 | float: 1 | |
2223 | idouble: 3 | |
2224 | ifloat: 1 | |
2225 | ildouble: 2 | |
2226 | ldouble: 2 | |
df5e9fa6 AJ |
2227 | Test "yn (3, 0.75) == -12.9877176234475433186319774484809207": |
2228 | double: 1 | |
2229 | float: 1 | |
2230 | idouble: 1 | |
2231 | ifloat: 1 | |
2232 | ildouble: 2 | |
2233 | ldouble: 2 | |
2234 | Test "yn (3, 10.0) == -0.251362657183837329779204747654240998": | |
2235 | double: 1 | |
2236 | float: 1 | |
2237 | idouble: 1 | |
2238 | ifloat: 1 | |
c9cf6dde AJ |
2239 | Test "yn (3, 10.0) == -0.25136265718383732978": |
2240 | double: 1 | |
2241 | float: 1 | |
2242 | idouble: 1 | |
2243 | ifloat: 1 | |
df5e9fa6 AJ |
2244 | Test "yn (3, 2.0) == -1.12778377684042778608158395773179238": |
2245 | double: 1 | |
2246 | idouble: 1 | |
c9cf6dde AJ |
2247 | Test "yn (3, 2.0) == -1.1277837768404277861": |
2248 | double: 1 | |
2249 | idouble: 1 | |
2250 | ||
2251 | # Maximal error of functions: | |
df5e9fa6 AJ |
2252 | Function: "acos": |
2253 | double: 707423775202844 | |
2254 | idouble: 707423775202844 | |
2255 | ||
c9cf6dde AJ |
2256 | Function: "asin": |
2257 | double: 1 | |
2258 | idouble: 1 | |
2259 | ildouble: 1 | |
2260 | ldouble: 1 | |
2261 | ||
2262 | Function: "asinh": | |
df5e9fa6 AJ |
2263 | double: 534245869295085 |
2264 | idouble: 534245869295085 | |
c9cf6dde AJ |
2265 | ildouble: 15 |
2266 | ldouble: 15 | |
2267 | ||
df5e9fa6 AJ |
2268 | Function: "atan": |
2269 | double: 966480751356276 | |
2270 | idouble: 966480751356276 | |
2271 | ||
c9cf6dde | 2272 | Function: "atan2": |
df5e9fa6 | 2273 | double: 1237991606604977 |
c9cf6dde | 2274 | float: 4 |
df5e9fa6 AJ |
2275 | idouble: 1237991606604977 |
2276 | ifloat: 3 | |
c9cf6dde AJ |
2277 | |
2278 | Function: "atanh": | |
2279 | double: 1 | |
df5e9fa6 | 2280 | float: 1 |
c9cf6dde | 2281 | idouble: 1 |
df5e9fa6 | 2282 | ifloat: 1 |
c9cf6dde AJ |
2283 | ildouble: 1 |
2284 | ldouble: 1 | |
2285 | ||
2286 | Function: "cabs": | |
2287 | double: 1 | |
2288 | float: 1 | |
2289 | idouble: 1 | |
2290 | ifloat: 1 | |
2291 | ildouble: 1 | |
2292 | ldouble: 1 | |
2293 | ||
2294 | Function: Real part of "cacos": | |
2295 | double: 1 | |
2296 | float: 1 | |
2297 | idouble: 1 | |
2298 | ifloat: 1 | |
2299 | ildouble: 1 | |
2300 | ldouble: 1 | |
2301 | ||
2302 | Function: Imaginary part of "cacos": | |
df5e9fa6 | 2303 | double: 5774891653287013 |
c9cf6dde | 2304 | float: 1 |
df5e9fa6 | 2305 | idouble: 5774891653287013 |
c9cf6dde | 2306 | ifloat: 1 |
df5e9fa6 AJ |
2307 | ildouble: 2 |
2308 | ldouble: 2 | |
c9cf6dde AJ |
2309 | |
2310 | Function: Real part of "cacosh": | |
2311 | double: 1 | |
2312 | float: 7 | |
2313 | idouble: 1 | |
2314 | ifloat: 7 | |
2315 | ildouble: 6 | |
2316 | ldouble: 6 | |
2317 | ||
2318 | Function: Imaginary part of "cacosh": | |
2319 | double: 1 | |
2320 | float: 3 | |
2321 | idouble: 1 | |
2322 | ifloat: 3 | |
2323 | ildouble: 1 | |
2324 | ldouble: 1 | |
2325 | ||
df5e9fa6 AJ |
2326 | Function: "carg": |
2327 | double: 13104433904493254 | |
2328 | idouble: 13104433904493254 | |
2329 | ||
c9cf6dde AJ |
2330 | Function: Real part of "casin": |
2331 | double: 3 | |
2332 | float: 2 | |
2333 | idouble: 3 | |
df5e9fa6 AJ |
2334 | ifloat: 1 |
2335 | ildouble: 2 | |
2336 | ldouble: 2 | |
c9cf6dde AJ |
2337 | |
2338 | Function: Imaginary part of "casin": | |
df5e9fa6 | 2339 | double: 5774891653287013 |
c9cf6dde | 2340 | float: 1 |
df5e9fa6 | 2341 | idouble: 5774891653287013 |
c9cf6dde | 2342 | ifloat: 1 |
df5e9fa6 AJ |
2343 | ildouble: 2 |
2344 | ldouble: 2 | |
c9cf6dde AJ |
2345 | |
2346 | Function: Real part of "casinh": | |
2347 | double: 5 | |
2348 | float: 1 | |
2349 | idouble: 5 | |
2350 | ifloat: 1 | |
2351 | ildouble: 5 | |
2352 | ldouble: 5 | |
2353 | ||
2354 | Function: Imaginary part of "casinh": | |
2355 | double: 3 | |
2356 | float: 6 | |
2357 | idouble: 3 | |
2358 | ifloat: 6 | |
2359 | ildouble: 5 | |
2360 | ldouble: 5 | |
2361 | ||
2362 | Function: Real part of "catan": | |
df5e9fa6 | 2363 | double: 457434200489078016 |
c9cf6dde | 2364 | float: 4 |
df5e9fa6 | 2365 | idouble: 457434200489078016 |
c9cf6dde AJ |
2366 | ifloat: 4 |
2367 | ildouble: 1 | |
2368 | ldouble: 1 | |
2369 | ||
2370 | Function: Imaginary part of "catan": | |
2371 | double: 1 | |
2372 | float: 1 | |
2373 | idouble: 1 | |
2374 | ifloat: 1 | |
2375 | ||
2376 | Function: Real part of "catanh": | |
2377 | double: 4 | |
2378 | float: 1 | |
2379 | idouble: 4 | |
2380 | ifloat: 1 | |
2381 | ildouble: 1 | |
2382 | ldouble: 1 | |
2383 | ||
2384 | Function: Imaginary part of "catanh": | |
df5e9fa6 | 2385 | double: 457434200489078016 |
c9cf6dde | 2386 | float: 6 |
df5e9fa6 | 2387 | idouble: 457434200489078016 |
c9cf6dde AJ |
2388 | ifloat: 6 |
2389 | ||
2390 | Function: "cbrt": | |
2391 | double: 1 | |
2392 | idouble: 1 | |
df5e9fa6 AJ |
2393 | ildouble: 1 |
2394 | ldouble: 1 | |
c9cf6dde AJ |
2395 | |
2396 | Function: Real part of "ccos": | |
2397 | double: 1 | |
df5e9fa6 | 2398 | float: 1 |
c9cf6dde | 2399 | idouble: 1 |
df5e9fa6 AJ |
2400 | ifloat: 1 |
2401 | ildouble: 1 | |
2402 | ldouble: 1 | |
c9cf6dde AJ |
2403 | |
2404 | Function: Imaginary part of "ccos": | |
2405 | double: 1 | |
2406 | float: 1 | |
2407 | idouble: 1 | |
2408 | ifloat: 1 | |
2409 | ildouble: 1 | |
2410 | ldouble: 1 | |
2411 | ||
2412 | Function: Real part of "ccosh": | |
2413 | double: 1 | |
2414 | float: 1 | |
2415 | idouble: 1 | |
2416 | ifloat: 1 | |
2417 | ildouble: 1 | |
2418 | ldouble: 1 | |
2419 | ||
2420 | Function: Imaginary part of "ccosh": | |
2421 | double: 1 | |
2422 | float: 1 | |
2423 | idouble: 1 | |
2424 | ifloat: 1 | |
2425 | ildouble: 1 | |
2426 | ldouble: 1 | |
2427 | ||
2428 | Function: Real part of "cexp": | |
2429 | double: 1 | |
2430 | float: 1 | |
2431 | idouble: 1 | |
2432 | ifloat: 1 | |
2433 | ildouble: 2 | |
2434 | ldouble: 2 | |
2435 | ||
2436 | Function: Imaginary part of "cexp": | |
df5e9fa6 AJ |
2437 | double: 5797732791632072 |
2438 | float: 1 | |
2439 | idouble: 5797732791632072 | |
2440 | ifloat: 1 | |
2441 | ildouble: 1 | |
2442 | ldouble: 1 | |
2443 | ||
2444 | Function: Real part of "clog": | |
c9cf6dde AJ |
2445 | float: 1 |
2446 | ifloat: 1 | |
2447 | ildouble: 1 | |
2448 | ldouble: 1 | |
2449 | ||
2450 | Function: Imaginary part of "clog": | |
df5e9fa6 | 2451 | double: 1414847550405688 |
c9cf6dde | 2452 | float: 3 |
df5e9fa6 | 2453 | idouble: 1414847550405688 |
c9cf6dde AJ |
2454 | ifloat: 3 |
2455 | ||
2456 | Function: Real part of "clog10": | |
2457 | double: 1 | |
2458 | float: 1 | |
2459 | idouble: 1 | |
2460 | ifloat: 1 | |
2461 | ildouble: 1 | |
2462 | ldouble: 1 | |
2463 | ||
2464 | Function: Imaginary part of "clog10": | |
2465 | double: 1 | |
2466 | float: 5 | |
2467 | idouble: 1 | |
2468 | ifloat: 5 | |
df5e9fa6 AJ |
2469 | ildouble: 1 |
2470 | ldouble: 1 | |
2471 | ||
2472 | Function: Imaginary part of "conj": | |
2473 | double: 4503599627370496 | |
2474 | idouble: 4503599627370496 | |
2475 | ||
2476 | Function: "copysign": | |
2477 | double: 18014398509481984 | |
2478 | idouble: 18014398509481984 | |
c9cf6dde AJ |
2479 | |
2480 | Function: "cos": | |
2481 | double: 2 | |
2482 | float: 1 | |
2483 | idouble: 2 | |
2484 | ifloat: 1 | |
2485 | ildouble: 0.5 | |
2486 | ldouble: 0.5 | |
2487 | ||
2488 | Function: "cosh": | |
df5e9fa6 AJ |
2489 | double: 2445817744586064 |
2490 | idouble: 2445817744586064 | |
c9cf6dde AJ |
2491 | ildouble: 2 |
2492 | ldouble: 2 | |
2493 | ||
2494 | Function: Real part of "cpow": | |
22ca6116 | 2495 | double: 2 |
c9cf6dde | 2496 | float: 4 |
22ca6116 | 2497 | idouble: 2 |
c9cf6dde | 2498 | ifloat: 4 |
df5e9fa6 AJ |
2499 | ildouble: 5 |
2500 | ldouble: 5 | |
c9cf6dde AJ |
2501 | |
2502 | Function: Imaginary part of "cpow": | |
22ca6116 | 2503 | double: 2 |
c9cf6dde | 2504 | float: 2 |
22ca6116 | 2505 | idouble: 2 |
c9cf6dde AJ |
2506 | ifloat: 2 |
2507 | ildouble: 2 | |
2508 | ldouble: 2 | |
2509 | ||
df5e9fa6 AJ |
2510 | Function: Real part of "cproj": |
2511 | double: 1501199875790166 | |
2512 | idouble: 1501199875790166 | |
2513 | ||
2514 | Function: Imaginary part of "cproj": | |
2515 | double: 1501199875790166 | |
2516 | idouble: 1501199875790166 | |
2517 | ||
2518 | Function: Real part of "csin": | |
2519 | double: 4503599627370496 | |
2520 | idouble: 4503599627370496 | |
2521 | ildouble: 1 | |
2522 | ldouble: 1 | |
2523 | ||
c9cf6dde | 2524 | Function: Imaginary part of "csin": |
df5e9fa6 | 2525 | double: 1643976377352247 |
c9cf6dde | 2526 | float: 1 |
df5e9fa6 | 2527 | idouble: 1643976377352247 |
c9cf6dde AJ |
2528 | ifloat: 1 |
2529 | ildouble: 2 | |
2530 | ldouble: 2 | |
2531 | ||
2532 | Function: Real part of "csinh": | |
df5e9fa6 | 2533 | double: 4503599627370496 |
c9cf6dde | 2534 | float: 1 |
df5e9fa6 | 2535 | idouble: 4503599627370496 |
c9cf6dde | 2536 | ifloat: 1 |
df5e9fa6 AJ |
2537 | ildouble: 1 |
2538 | ldouble: 1 | |
c9cf6dde AJ |
2539 | |
2540 | Function: Imaginary part of "csinh": | |
2541 | double: 1 | |
2542 | float: 1 | |
2543 | idouble: 1 | |
2544 | ifloat: 1 | |
2545 | ildouble: 2 | |
2546 | ldouble: 2 | |
2547 | ||
2548 | Function: Real part of "csqrt": | |
2549 | double: 1 | |
2550 | float: 1 | |
2551 | idouble: 1 | |
2552 | ifloat: 1 | |
2553 | ||
2554 | Function: Imaginary part of "csqrt": | |
df5e9fa6 | 2555 | double: 12947848928690176 |
c9cf6dde | 2556 | float: 1 |
df5e9fa6 | 2557 | idouble: 12947848928690176 |
c9cf6dde AJ |
2558 | ifloat: 1 |
2559 | ||
2560 | Function: Real part of "ctan": | |
2561 | double: 1 | |
2562 | float: 1 | |
2563 | idouble: 1 | |
2564 | ifloat: 1 | |
2565 | ildouble: 439 | |
2566 | ldouble: 439 | |
2567 | ||
2568 | Function: Imaginary part of "ctan": | |
2569 | double: 1 | |
2570 | float: 1 | |
2571 | idouble: 1 | |
2572 | ifloat: 1 | |
df5e9fa6 AJ |
2573 | ildouble: 3 |
2574 | ldouble: 3 | |
c9cf6dde AJ |
2575 | |
2576 | Function: Real part of "ctanh": | |
2577 | double: 2 | |
2578 | float: 2 | |
2579 | idouble: 2 | |
2580 | ifloat: 2 | |
2581 | ildouble: 5 | |
2582 | ldouble: 5 | |
2583 | ||
2584 | Function: Imaginary part of "ctanh": | |
2585 | double: 2 | |
2586 | float: 1 | |
2587 | idouble: 2 | |
2588 | ifloat: 1 | |
2589 | ildouble: 25 | |
2590 | ldouble: 25 | |
2591 | ||
df5e9fa6 AJ |
2592 | Function: "erf": |
2593 | double: 708412650257339 | |
2594 | idouble: 708412650257339 | |
2595 | ||
c9cf6dde AJ |
2596 | Function: "erfc": |
2597 | double: 24 | |
2598 | float: 12 | |
2599 | idouble: 24 | |
2600 | ifloat: 12 | |
df5e9fa6 AJ |
2601 | ildouble: 1 |
2602 | ldouble: 1 | |
2603 | ||
2604 | Function: "exp": | |
2605 | double: 773845340236565 | |
2606 | idouble: 773845340236565 | |
c9cf6dde AJ |
2607 | |
2608 | Function: "exp10": | |
2609 | double: 6 | |
2610 | float: 2 | |
2611 | idouble: 6 | |
2612 | ifloat: 2 | |
2613 | ildouble: 3 | |
2614 | ldouble: 3 | |
2615 | ||
df5e9fa6 AJ |
2616 | Function: "exp2": |
2617 | double: 4503599627370496 | |
2618 | idouble: 4503599627370496 | |
2619 | ||
c9cf6dde AJ |
2620 | Function: "expm1": |
2621 | double: 1 | |
2622 | float: 1 | |
2623 | idouble: 1 | |
2624 | ifloat: 1 | |
2625 | ildouble: 1 | |
2626 | ldouble: 1 | |
2627 | ||
df5e9fa6 AJ |
2628 | Function: "fabs": |
2629 | double: 4503599627370496 | |
2630 | idouble: 4503599627370496 | |
2631 | ||
c9cf6dde AJ |
2632 | Function: "fmod": |
2633 | double: 2 | |
2634 | float: 1 | |
2635 | idouble: 2 | |
2636 | ifloat: 1 | |
2637 | ildouble: 1 | |
2638 | ldouble: 1 | |
2639 | ||
df5e9fa6 AJ |
2640 | Function: "frexp": |
2641 | double: 2251799813685248 | |
2642 | idouble: 2251799813685248 | |
2643 | ||
c9cf6dde AJ |
2644 | Function: "gamma": |
2645 | ildouble: 1 | |
2646 | ldouble: 1 | |
2647 | ||
2648 | Function: "hypot": | |
2649 | double: 1 | |
2650 | float: 1 | |
2651 | idouble: 1 | |
2652 | ifloat: 1 | |
2653 | ildouble: 1 | |
2654 | ldouble: 1 | |
2655 | ||
2656 | Function: "j0": | |
2657 | double: 2 | |
2658 | float: 2 | |
2659 | idouble: 2 | |
2660 | ifloat: 2 | |
df5e9fa6 AJ |
2661 | ildouble: 1 |
2662 | ldouble: 1 | |
c9cf6dde AJ |
2663 | |
2664 | Function: "j1": | |
2665 | double: 1 | |
2666 | float: 2 | |
2667 | idouble: 1 | |
2668 | ifloat: 2 | |
df5e9fa6 AJ |
2669 | ildouble: 1 |
2670 | ldouble: 1 | |
c9cf6dde AJ |
2671 | |
2672 | Function: "jn": | |
2673 | double: 6 | |
2674 | float: 4 | |
2675 | idouble: 6 | |
2676 | ifloat: 4 | |
2677 | ildouble: 2 | |
2678 | ldouble: 2 | |
2679 | ||
2680 | Function: "lgamma": | |
2681 | double: 1 | |
2682 | float: 2 | |
2683 | idouble: 1 | |
2684 | ifloat: 2 | |
2685 | ildouble: 1 | |
2686 | ldouble: 1 | |
2687 | ||
2688 | Function: "log": | |
2689 | double: 1 | |
2690 | float: 1 | |
2691 | idouble: 1 | |
2692 | ifloat: 1 | |
2693 | ildouble: 1 | |
2694 | ldouble: 1 | |
2695 | ||
2696 | Function: "log10": | |
2697 | double: 1 | |
df5e9fa6 | 2698 | float: 2 |
c9cf6dde | 2699 | idouble: 1 |
df5e9fa6 | 2700 | ifloat: 2 |
c9cf6dde AJ |
2701 | ildouble: 1 |
2702 | ldouble: 1 | |
2703 | ||
2704 | Function: "log1p": | |
2705 | double: 1 | |
2706 | float: 1 | |
2707 | idouble: 1 | |
2708 | ifloat: 1 | |
2709 | ildouble: 1 | |
2710 | ldouble: 1 | |
2711 | ||
2712 | Function: "log2": | |
2713 | double: 1 | |
2714 | float: 1 | |
2715 | idouble: 1 | |
2716 | ifloat: 1 | |
2717 | ||
df5e9fa6 AJ |
2718 | Function: "modf": |
2719 | double: 4503599627370496 | |
2720 | idouble: 4503599627370496 | |
2721 | ||
2722 | Function: "nearbyint": | |
2723 | double: 4503599627370496 | |
2724 | idouble: 4503599627370496 | |
2725 | ||
2726 | Function: "nextafter": | |
2727 | double: 4503599627370496 | |
2728 | idouble: 4503599627370496 | |
2729 | ||
2730 | Function: "nexttoward": | |
2731 | double: 4503599627370496 | |
2732 | idouble: 4503599627370496 | |
2733 | ||
2734 | Function: "pow": | |
2735 | double: 49539595901075456 | |
2736 | idouble: 49539595901075456 | |
2737 | ||
2738 | Function: "round": | |
2739 | double: 4503599627370496 | |
2740 | idouble: 4503599627370496 | |
2741 | ||
2742 | Function: "scalb": | |
2743 | double: 4503599627370496 | |
2744 | idouble: 4503599627370496 | |
2745 | ||
c9cf6dde | 2746 | Function: "sin": |
df5e9fa6 AJ |
2747 | double: 713951213746569 |
2748 | idouble: 713951213746569 | |
c9cf6dde AJ |
2749 | ildouble: 1 |
2750 | ldouble: 1 | |
2751 | ||
2752 | Function: "sincos": | |
2753 | double: 1 | |
2754 | float: 1 | |
2755 | idouble: 1 | |
2756 | ifloat: 1 | |
2757 | ildouble: 1 | |
2758 | ldouble: 1 | |
2759 | ||
2760 | Function: "sinh": | |
2761 | double: 1 | |
2762 | float: 1 | |
2763 | idouble: 1 | |
2764 | ifloat: 1 | |
2765 | ildouble: 1 | |
2766 | ldouble: 1 | |
2767 | ||
2768 | Function: "tan": | |
2769 | double: 0.5 | |
2770 | idouble: 0.5 | |
2771 | ildouble: 1 | |
2772 | ldouble: 1 | |
2773 | ||
2774 | Function: "tanh": | |
2775 | double: 1 | |
2776 | float: 1 | |
2777 | idouble: 1 | |
2778 | ifloat: 1 | |
2779 | ildouble: 1 | |
2780 | ldouble: 1 | |
2781 | ||
2782 | Function: "tgamma": | |
2783 | double: 1 | |
2784 | float: 1 | |
2785 | idouble: 1 | |
2786 | ifloat: 1 | |
df5e9fa6 AJ |
2787 | ildouble: 1 |
2788 | ldouble: 1 | |
2789 | ||
2790 | Function: "trunc": | |
2791 | double: 4503599627370496 | |
2792 | idouble: 4503599627370496 | |
c9cf6dde AJ |
2793 | |
2794 | Function: "y0": | |
2795 | double: 2 | |
2796 | float: 1 | |
2797 | idouble: 2 | |
2798 | ifloat: 1 | |
df5e9fa6 AJ |
2799 | ildouble: 1 |
2800 | ldouble: 1 | |
c9cf6dde AJ |
2801 | |
2802 | Function: "y1": | |
2803 | double: 3 | |
2804 | float: 2 | |
2805 | idouble: 3 | |
2806 | ifloat: 2 | |
df5e9fa6 AJ |
2807 | ildouble: 1 |
2808 | ldouble: 1 | |
c9cf6dde AJ |
2809 | |
2810 | Function: "yn": | |
2811 | double: 3 | |
2812 | float: 2 | |
2813 | idouble: 3 | |
2814 | ifloat: 2 | |
df5e9fa6 AJ |
2815 | ildouble: 4 |
2816 | ldouble: 4 | |
c9cf6dde AJ |
2817 | |
2818 | # end of automatic generation |