Lines Matching refs:CMPLXL
130 long double complex zero = CMPLXL(0.0, 0.0);
132 testall_tol(cacosh, zero, CMPLXL(0.0, pi / 2), 1);
133 testall_tol(cacosh, -zero, CMPLXL(0.0, -pi / 2), 1);
134 testall_tol(cacos, zero, CMPLXL(pi / 2, -0.0), 1);
135 testall_tol(cacos, -zero, CMPLXL(pi / 2, 0.0), 1);
150 long double complex nan_nan = CMPLXL(NAN, NAN);
173 z = CMPLXL(0.5, NAN);
181 z = CMPLXL(NAN, 0.5);
189 z = CMPLXL(NAN, INFINITY);
190 testall(cacosh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, CS_REAL);
191 testall(cacosh, -z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, CS_REAL);
192 testall(cacos, z, CMPLXL(NAN, -INFINITY), ALL_STD_EXCEPT, 0, CS_IMAG);
193 testall(casinh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 0);
194 testall(casin, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, CS_IMAG);
195 testall_tol(catanh, z, CMPLXL(0.0, pi / 2), 1);
196 testall(catan, z, CMPLXL(NAN, 0.0), ALL_STD_EXCEPT, 0, CS_IMAG);
198 z = CMPLXL(INFINITY, NAN);
199 testall_even(cacosh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0,
201 testall_even(cacos, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, 0);
202 testall_odd(casinh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0,
204 testall_odd(casin, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, 0);
205 testall_odd(catanh, z, CMPLXL(0.0, NAN), ALL_STD_EXCEPT, 0, CS_REAL);
206 testall_odd_tol(catan, z, CMPLXL(pi / 2, 0.0), 1);
208 z = CMPLXL(0.0, NAN);
211 testall_even_tol(cacos, z, CMPLXL(pi / 2, NAN), 1);
213 testall_odd(casin, z, CMPLXL(0.0, NAN), ALL_STD_EXCEPT, 0, CS_REAL);
214 testall_odd(catanh, z, CMPLXL(0.0, NAN), OPT_INVALID, 0, CS_REAL);
217 z = CMPLXL(NAN, 0.0);
220 testall(casinh, z, CMPLXL(NAN, 0), ALL_STD_EXCEPT, 0, CS_IMAG);
223 testall(catan, z, CMPLXL(NAN, 0.0), ALL_STD_EXCEPT, 0, 0);
239 z = CMPLXL(INFINITY, INFINITY);
240 testall_tol(cacosh, z, CMPLXL(INFINITY, pi / 4), 1);
241 testall_tol(cacosh, -z, CMPLXL(INFINITY, -c3pi / 4), 1);
242 testall_tol(cacos, z, CMPLXL(pi / 4, -INFINITY), 1);
243 testall_tol(cacos, -z, CMPLXL(c3pi / 4, INFINITY), 1);
244 testall_odd_tol(casinh, z, CMPLXL(INFINITY, pi / 4), 1);
245 testall_odd_tol(casin, z, CMPLXL(pi / 4, INFINITY), 1);
246 testall_odd_tol(catanh, z, CMPLXL(0, pi / 2), 1);
247 testall_odd_tol(catan, z, CMPLXL(pi / 2, 0), 1);
249 z = CMPLXL(INFINITY, 0.5);
251 testall(cacosh, z, CMPLXL(INFINITY, 0), OPT_INEXACT, 0, CS_BOTH);
252 testall_tol(cacosh, -z, CMPLXL(INFINITY, -pi), 1);
253 testall(cacos, z, CMPLXL(0, -INFINITY), OPT_INEXACT, 0, CS_BOTH);
254 testall_tol(cacos, -z, CMPLXL(pi, INFINITY), 1);
255 testall_odd(casinh, z, CMPLXL(INFINITY, 0), OPT_INEXACT, 0, CS_BOTH);
256 testall_odd_tol(casin, z, CMPLXL(pi / 2, INFINITY), 1);
257 testall_odd_tol(catanh, z, CMPLXL(0, pi / 2), 1);
258 testall_odd_tol(catan, z, CMPLXL(pi / 2, 0), 1);
260 z = CMPLXL(0.5, INFINITY);
261 testall_tol(cacosh, z, CMPLXL(INFINITY, pi / 2), 1);
262 testall_tol(cacosh, -z, CMPLXL(INFINITY, -pi / 2), 1);
263 testall_tol(cacos, z, CMPLXL(pi / 2, -INFINITY), 1);
264 testall_tol(cacos, -z, CMPLXL(pi / 2, INFINITY), 1);
265 testall_odd_tol(casinh, z, CMPLXL(INFINITY, pi / 2), 1);
267 testall_odd(casin, z, CMPLXL(0.0, INFINITY), OPT_INEXACT, 0, CS_BOTH);
268 testall_odd_tol(catanh, z, CMPLXL(0, pi / 2), 1);
269 testall_odd_tol(catan, z, CMPLXL(pi / 2, 0), 1);
284 z = CMPLXL(nums[i], 0.0);
286 testall_tol(cacosh, z, CMPLXL(0.0, acos(nums[i])), 1);
287 testall_tol(cacos, z, CMPLXL(acosl(nums[i]), -0.0), 1);
288 testall_tol(casin, z, CMPLXL(asinl(nums[i]), 0.0), 1);
289 testall_tol(catanh, z, CMPLXL(atanh(nums[i]), 0.0), 1);
292 CMPLXL(acosh(fabsl(nums[i])),
295 CMPLXL((nums[i] < 0) ? pi : 0,
298 CMPLXL(copysign(pi / 2, nums[i]),
301 CMPLXL(atanh(1 / nums[i]), pi / 2), 1);
303 testall_tol(casinh, z, CMPLXL(asinh(nums[i]), 0.0), 1);
304 testall_tol(catan, z, CMPLXL(atan(nums[i]), 0), 1);
324 z = CMPLXL(0.75L, 0.25L);
325 acos_z = CMPLXL(pi / 4, -0.34657359027997265470861606072908828L);
326 asin_z = CMPLXL(pi / 4, 0.34657359027997265470861606072908828L);
327 atan_z = CMPLXL(0.66290883183401623252961960521423782L,