/freebsd-11-stable/lib/msun/tests/ |
H A D | cexp_test.c | 112 testall(CMPLXL(0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); 113 testall(CMPLXL(-0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); 129 testall(CMPLXL(finites[i], NAN), CMPLXL(NAN, NAN), 134 testall(CMPLXL(NAN, finites[i]), CMPLXL(NAN, NAN), 139 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 | 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(INFINIT [all...] |
H A D | ctrig_test.c | 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(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-11-stable/lib/msun/src/ |
H A D | s_conjl.c | 37 return (CMPLXL(creall(z), -cimagl(z)));
|
H A D | s_csqrtl.c | 69 return (CMPLXL(0, b)); 71 return (CMPLXL(INFINITY, b)); 74 return (CMPLXL(a, t)); /* return NaN + NaN i */ 84 return (CMPLXL(fabsl(b - b), copysignl(a, b))); 86 return (CMPLXL(a, copysignl(b - b, b))); 105 result = CMPLXL(t, b / (2 * t)); 108 result = CMPLXL(fabsl(b) / (2 * t), copysignl(t, b));
|
H A D | catrigl.c | 180 return (CMPLXL(x, y + y)); 182 return (CMPLXL(y, x + x)); 184 return (CMPLXL(x + x, y)); 185 return (CMPLXL(x + 0.0L + (y + 0), x + 0.0L + (y + 0))); 193 return (CMPLXL(copysignl(creall(w), x), 210 return (CMPLXL(copysignl(rx, x), copysignl(ry, y))); 218 w = casinhl(CMPLXL(cimagl(z), creall(z))); 219 return (CMPLXL(cimagl(w), creall(w))); 239 return (CMPLXL(y + y, -INFINITY)); 241 return (CMPLXL( [all...] |
H A D | s_cprojl.c | 42 return (CMPLXL(INFINITY, copysignl(0.0, cimagl(z))));
|
H A D | s_clogl.c | 89 RETURNI(CMPLXL(logl(hypotl(x, y)), v)); 94 RETURNI(CMPLXL((ay / 2) * ay, v)); 95 RETURNI(CMPLXL(log1pl(ay * ay) / 2, v)); 100 RETURNI(CMPLXL(logl(ax), v)); 104 RETURNI(CMPLXL(logl(hypotl(x * 0x1p-16382L, y * 0x1p-16382L)) + 107 RETURNI(CMPLXL(logl(hypotl(x, y)), v)); 111 RETURNI(CMPLXL(logl(hypotl(x * 0x1p16383L, y * 0x1p16383L)) + 116 RETURNI(CMPLXL(logl(hypotl(x, y)), v)); 158 RETURNI(CMPLXL(logl(ay2l + ax2l + sl + sh) / 2, v)); 167 RETURNI(CMPLXL(log1p [all...] |
H A D | s_cpowl.c | 63 return (CMPLXL(0.0L, 0.0L)); 72 w = CMPLXL(r * cosl(theta), r * sinl(theta));
|
H A D | math_private.h | 513 * The C11 standard introduced the macros CMPLX(), CMPLXF() and CMPLXL() 542 #ifndef CMPLXL 544 CMPLXL(long double x, long double y) function
|
/freebsd-11-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-11-stable/lib/msun/ld128/ |
H A D | k_expl.h | 325 return (CMPLXL(cos(y) * exp_x * scale1 * scale2,
|
/freebsd-11-stable/lib/msun/ld80/ |
H A D | k_expl.h | 302 return (CMPLXL(cos(y) * exp_x * scale1 * scale2,
|