Lines Matching refs:CMPLXL
139 long double complex zero = CMPLXL(0.0, 0.0);
152 testall_even(ccos, zero, CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, CS_BOTH);
164 long double complex nan_nan = CMPLXL(NAN, NAN);
185 z = CMPLXL(42, NAN);
194 z = CMPLXL(NAN, 42);
203 z = CMPLXL(NAN, INFINITY);
207 testall_odd(csin, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, 0);
208 testall_even(ccos, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0,
210 testall_odd(ctan, z, CMPLXL(0, 1), ALL_STD_EXCEPT, 0, CS_IMAG);
212 z = CMPLXL(INFINITY, NAN);
213 testall_odd(csinh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 0);
214 testall_even(ccosh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0,
216 testall_odd(ctanh, z, CMPLXL(1, 0), ALL_STD_EXCEPT, 0, CS_REAL);
221 z = CMPLXL(0, NAN);
222 testall_odd(csinh, z, CMPLXL(0, NAN), ALL_STD_EXCEPT, 0, 0);
223 testall_even(ccosh, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, 0, 0);
225 testall_odd(csin, z, CMPLXL(0, NAN), ALL_STD_EXCEPT, 0, CS_REAL);
226 testall_even(ccos, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, 0, 0);
227 testall_odd(ctan, z, CMPLXL(0, NAN), ALL_STD_EXCEPT, 0, CS_REAL);
229 z = CMPLXL(NAN, 0);
230 testall_odd(csinh, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, 0, CS_IMAG);
231 testall_even(ccosh, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, 0, 0);
232 testall_odd(ctanh, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, 0, CS_IMAG);
233 testall_odd(csin, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, 0, 0);
234 testall_even(ccos, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, 0, 0);
258 z = CMPLXL(INFINITY, INFINITY);
259 testall_odd(csinh, z, CMPLXL(INFINITY, NAN),
261 testall_even(ccosh, z, CMPLXL(INFINITY, NAN),
263 testall_odd(ctanh, z, CMPLXL(1, 0), ALL_STD_EXCEPT, 0, CS_REAL);
264 testall_odd(csin, z, CMPLXL(NAN, INFINITY),
266 testall_even(ccos, z, CMPLXL(INFINITY, NAN),
268 testall_odd(ctan, z, CMPLXL(0, 1), ALL_STD_EXCEPT, 0, CS_REAL);
272 z = CMPLXL(INFINITY, finites[i]);
275 testall_odd(csinh, z, CMPLXL(c, s), OPT_INEXACT, 0, CS_BOTH);
276 testall_even(ccosh, z, CMPLXL(c, s), OPT_INEXACT, 0, CS_BOTH);
277 testall_odd(ctanh, z, CMPLXL(1, 0 * sin(finites[i] * 2)),
279 z = CMPLXL(finites[i], INFINITY);
280 testall_odd(csin, z, CMPLXL(s, c), OPT_INEXACT, 0, CS_BOTH);
281 testall_even(ccos, z, CMPLXL(c, -s), OPT_INEXACT, 0, CS_BOTH);
282 testall_odd(ctan, z, CMPLXL(0 * sin(finites[i] * 2), 1),
286 z = CMPLXL(0, INFINITY);
287 testall_odd(csinh, z, CMPLXL(0, NAN), ALL_STD_EXCEPT, FE_INVALID, 0);
288 testall_even(ccosh, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, FE_INVALID, 0);
289 testall_odd(ctanh, z, CMPLXL(NAN, NAN), ALL_STD_EXCEPT, FE_INVALID, 0);
290 z = CMPLXL(INFINITY, 0);
291 testall_odd(csin, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, FE_INVALID, 0);
292 testall_even(ccos, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, FE_INVALID, 0);
293 testall_odd(ctan, z, CMPLXL(NAN, NAN), ALL_STD_EXCEPT, FE_INVALID, 0);
295 z = CMPLXL(42, INFINITY);
296 testall_odd(csinh, z, CMPLXL(NAN, NAN), ALL_STD_EXCEPT, FE_INVALID, 0);
297 testall_even(ccosh, z, CMPLXL(NAN, NAN), ALL_STD_EXCEPT, FE_INVALID, 0);
299 testall_odd(ctanh, z, CMPLXL(NAN, NAN), OPT_INEXACT, FE_INVALID, 0);
300 z = CMPLXL(INFINITY, 42);
301 testall_odd(csin, z, CMPLXL(NAN, NAN), ALL_STD_EXCEPT, FE_INVALID, 0);
302 testall_even(ccos, z, CMPLXL(NAN, NAN), ALL_STD_EXCEPT, FE_INVALID, 0);
304 testall_odd(ctan, z, CMPLXL(NAN, NAN), OPT_INEXACT, FE_INVALID, 0);
323 z = CMPLXL(nums[i], 0.0);
324 test_odd_tol(csinh, z, CMPLXL(sinh(nums[i]), 0), DBL_ULP());
325 test_even_tol(ccosh, z, CMPLXL(cosh(nums[i]), 0), DBL_ULP());
326 test_odd_tol(ctanh, z, CMPLXL(tanh(nums[i]), 0), DBL_ULP());
327 test_odd_tol(csin, z, CMPLXL(sin(nums[i]),
329 test_even_tol(ccos, z, CMPLXL(cos(nums[i]),
331 test_odd_tol(ctan, z, CMPLXL(tan(nums[i]), 0), DBL_ULP());
333 test_odd_tol(csinhf, z, CMPLXL(sinhf(nums[i]), 0), FLT_ULP());
334 test_even_tol(ccoshf, z, CMPLXL(coshf(nums[i]), 0), FLT_ULP());
338 test_odd_tol(ctanhf, z, CMPLXL(tanhf(nums[i]), 0),
340 test_odd_tol(csinf, z, CMPLXL(sinf(nums[i]),
342 test_even_tol(ccosf, z, CMPLXL(cosf(nums[i]),
344 test_odd_tol(ctanf, z, CMPLXL(tanf(nums[i]), 0), FLT_ULP());
347 z = CMPLXL(0.0, nums[i]);
348 test_odd_tol(csinh, z, CMPLXL(copysign(0, cos(nums[i])),
350 test_even_tol(ccosh, z, CMPLXL(cos(nums[i]),
352 test_odd_tol(ctanh, z, CMPLXL(0, tan(nums[i])), DBL_ULP());
353 test_odd_tol(csin, z, CMPLXL(0, sinh(nums[i])), DBL_ULP());
354 test_even_tol(ccos, z, CMPLXL(cosh(nums[i]), -0.0), DBL_ULP());
355 test_odd_tol(ctan, z, CMPLXL(0, tanh(nums[i])), DBL_ULP());
357 test_odd_tol(csinhf, z, CMPLXL(copysign(0, cosf(nums[i])),
359 test_even_tol(ccoshf, z, CMPLXL(cosf(nums[i]),
361 test_odd_tol(ctanhf, z, CMPLXL(0, tanf(nums[i])), FLT_ULP());
362 test_odd_tol(csinf, z, CMPLXL(0, sinhf(nums[i])), FLT_ULP());
363 test_even_tol(ccosf, z, CMPLXL(coshf(nums[i]), -0.0),
365 test_odd_tol(ctanf, z, CMPLXL(0, tanhf(nums[i])),
426 z = CMPLXL(tests[i].a, tests[i].b);
428 CMPLXL(tests[i].sinh_a, tests[i].sinh_b), 1.1);
430 CMPLXL(tests[i].cosh_a, tests[i].cosh_b), 1.1);
432 CMPLXL(tests[i].tanh_a, tests[i].tanh_b), 1.4);
447 z = CMPLXL(21, 0.78539816339744830961566084581987572L);
449 CMPLXL(1.0, 1.14990445285871196133287617611468468e-18L), 1.2);
452 CMPLXL(1.0, 1.55622644822675930314266334585597964e-19L), 1);
454 z = CMPLXL(355, 0.78539816339744830961566084581987572L);
456 CMPLXL(1.0, 8.95257245135025991216632140458264468e-309L),
458 z = CMPLXL(30, 0x1p1023L);
460 CMPLXL(1.0, -1.62994325413993477997492170229268382e-26L),
462 z = CMPLXL(1, 0x1p1023L);
464 CMPLXL(0.878606311888306869546254022621986509L,
468 z = CMPLXL(710.6, 0.78539816339744830961566084581987572L);
470 CMPLXL(1.43917579766621073533185387499658944e308L,
473 CMPLXL(1.43917579766621073533185387499658944e308L,
476 z = CMPLXL(1500, 0.78539816339744830961566084581987572L);
477 testall_odd(csinh, z, CMPLXL(INFINITY, INFINITY), OPT_INEXACT,
479 testall_even(ccosh, z, CMPLXL(INFINITY, INFINITY), OPT_INEXACT,