/freebsd-10-stable/lib/msun/tests/ |
H A D | cexp_test.c | 104 testall(CMPLXL(0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); 105 testall(CMPLXL(-0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); 121 testall(CMPLXL(finites[i], NAN), CMPLXL(NAN, NAN), 126 testall(CMPLXL(NAN, finites[i]), CMPLXL(NAN, NAN), 131 testall(CMPLXL(NAN, 0.0), CMPLXL(NA [all...] |
H A D | csqrt_test.c | 136 assert(t_csqrt(CMPLXL(a, b)) == CMPLXL(x, y)); 149 assert_equal(t_csqrt(CMPLXL(0.0, 0.0)), CMPLXL(0.0, 0.0)); 150 assert_equal(t_csqrt(CMPLXL(-0.0, 0.0)), CMPLXL(0.0, 0.0)); 151 assert_equal(t_csqrt(CMPLXL(0.0, -0.0)), CMPLXL(0.0, -0.0)); 152 assert_equal(t_csqrt(CMPLXL(-0.0, -0.0)), CMPLXL(0. [all...] |
H A D | invctrig_test.c | 129 long double complex zero = CMPLXL(0.0, 0.0); 131 testall_tol(cacosh, zero, CMPLXL(0.0, pi / 2), 1); 132 testall_tol(cacosh, -zero, CMPLXL(0.0, -pi / 2), 1); 133 testall_tol(cacos, zero, CMPLXL(pi / 2, -0.0), 1); 134 testall_tol(cacos, -zero, CMPLXL(pi / 2, 0.0), 1); 149 long double complex nan_nan = CMPLXL(NAN, NAN); 172 z = CMPLXL(0.5, NAN); 180 z = CMPLXL(NAN, 0.5); 188 z = CMPLXL(NAN, INFINITY); 189 testall(cacosh, z, CMPLXL(INFINIT [all...] |
H A D | ctrig_test.c | 134 long double complex zero = CMPLXL(0.0, 0.0); 140 testall_even(ccos, zero, CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, CS_BOTH); 151 long double complex nan_nan = CMPLXL(NAN, NAN); 172 z = CMPLXL(42, NAN); 181 z = CMPLXL(NAN, 42); 190 z = CMPLXL(NAN, INFINITY); 194 testall_odd(csin, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, 0); 195 testall_even(ccos, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 197 testall_odd(ctan, z, CMPLXL(0, 1), ALL_STD_EXCEPT, 0, CS_IMAG); 199 z = CMPLXL(INFINIT [all...] |
H A D | test-utils.h | 76 * XXX The ancient version of gcc in the base system doesn't support CMPLXL, 79 #ifndef CMPLXL 81 CMPLXL(long double x, long double y) function
|
/freebsd-10-stable/lib/msun/src/ |
H A D | s_conjl.c | 37 return (CMPLXL(creall(z), -cimagl(z)));
|
H A D | s_csqrtl.c | 61 return (CMPLXL(0, b)); 63 return (CMPLXL(INFINITY, b)); 66 return (CMPLXL(a, t)); /* return NaN + NaN i */ 76 return (CMPLXL(fabsl(b - b), copysignl(a, b))); 78 return (CMPLXL(a, copysignl(b - b, b))); 97 result = CMPLXL(t, b / (2 * t)); 100 result = CMPLXL(fabsl(b) / (2 * t), copysignl(t, b));
|
H A D | s_cprojl.c | 42 return (CMPLXL(INFINITY, copysignl(0.0, cimagl(z))));
|
H A D | math_private.h | 458 * The C11 standard introduced the macros CMPLX(), CMPLXF() and CMPLXL() 487 #ifndef CMPLXL 489 CMPLXL(long double x, long double y) function
|
/freebsd-10-stable/include/ |
H A D | complex.h | 53 #define CMPLXL(x, y) ((long double complex){ x, y }) macro 57 #define CMPLXL(x, y) __builtin_complex((long double)(x), (long double)(y)) macro
|
/freebsd-10-stable/lib/msun/ld128/ |
H A D | k_expl.h | 325 return (CMPLXL(cos(y) * exp_x * scale1 * scale2,
|
/freebsd-10-stable/lib/msun/ld80/ |
H A D | k_expl.h | 302 return (CMPLXL(cos(y) * exp_x * scale1 * scale2,
|