/freebsd-current/lib/msun/tests/ |
H A D | cexp_test.c | 108 testall(CMPLXL(0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); 109 testall(CMPLXL(-0.0, -0.0), CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, 1); 124 testall(CMPLXL(finites[i], NAN), CMPLXL(NAN, NAN), 129 testall(CMPLXL(NAN, finites[i]), CMPLXL(NAN, NAN), 134 testall(CMPLXL(NAN, 0.0), CMPLXL(NA [all...] |
H A D | csqrt_test.c | 127 ATF_CHECK(t_csqrt(CMPLXL(a, b)) == CMPLXL(x, y)); 140 assert_equal(t_csqrt(CMPLXL(0.0, 0.0)), CMPLXL(0.0, 0.0)); 141 assert_equal(t_csqrt(CMPLXL(-0.0, 0.0)), CMPLXL(0.0, 0.0)); 142 assert_equal(t_csqrt(CMPLXL(0.0, -0.0)), CMPLXL(0.0, -0.0)); 143 assert_equal(t_csqrt(CMPLXL(-0.0, -0.0)), CMPLXL(0. [all...] |
H A D | invctrig_test.c | 126 long double complex zero = CMPLXL(0.0, 0.0); 128 testall_tol(cacosh, zero, CMPLXL(0.0, pi / 2), 1); 129 testall_tol(cacosh, -zero, CMPLXL(0.0, -pi / 2), 1); 130 testall_tol(cacos, zero, CMPLXL(pi / 2, -0.0), 1); 131 testall_tol(cacos, -zero, CMPLXL(pi / 2, 0.0), 1); 146 long double complex nan_nan = CMPLXL(NAN, NAN); 169 z = CMPLXL(0.5, NAN); 177 z = CMPLXL(NAN, 0.5); 185 z = CMPLXL(NAN, INFINITY); 186 testall(cacosh, z, CMPLXL(INFINIT [all...] |
H A D | ctrig_test.c | 137 long double complex zero = CMPLXL(0.0, 0.0); 143 testall_even(ccos, zero, CMPLXL(1.0, -0.0), ALL_STD_EXCEPT, 0, CS_BOTH); 155 long double complex nan_nan = CMPLXL(NAN, NAN); 176 z = CMPLXL(42, NAN); 185 z = CMPLXL(NAN, 42); 194 z = CMPLXL(NAN, INFINITY); 198 testall_odd(csin, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, 0); 199 testall_even(ccos, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 201 testall_odd(ctan, z, CMPLXL(0, 1), ALL_STD_EXCEPT, 0, CS_IMAG); 203 z = CMPLXL(INFINIT [all...] |
H A D | test-utils.h | 77 * XXX The ancient version of gcc in the base system doesn't support CMPLXL, 80 #ifndef CMPLXL 82 CMPLXL(long double x, long double y) function
|
/freebsd-current/lib/msun/ld128/ |
H A D | s_cexpl.c | 53 return (CMPLXL(expl(x), y)); 57 return (CMPLXL(c, s)); 63 return (CMPLXL(y - y, y - y)); 66 return (CMPLXL(0.0, 0.0)); 69 return (CMPLXL(x, y - y)); 89 return (CMPLXL(exp_x * c, exp_x * s));
|
H A D | k_expl.h | 318 return (CMPLXL(c * exp_x * scale1 * scale2,
|
/freebsd-current/lib/msun/src/ |
H A D | s_conjl.c | 37 return (CMPLXL(creall(z), -cimagl(z)));
|
H A D | s_cprojl.c | 41 return (CMPLXL(INFINITY, copysignl(0.0, cimagl(z))));
|
H A D | s_csqrtl.c | 64 return (CMPLXL(0, b)); 66 return (CMPLXL(INFINITY, b)); 69 return (CMPLXL(a + 0.0L + t, a + 0.0L + t)); /* NaN + NaN i */ 79 return (CMPLXL(fabsl(b - b), copysignl(a, b))); 81 return (CMPLXL(a, copysignl(b - b, b))); 85 return (CMPLXL(b + 0.0L + t, b + 0.0L + t)); /* NaN + NaN i */ 122 return (CMPLXL(rx, ry));
|
H A D | catrigl.c | 177 return (CMPLXL(x, y + y)); 179 return (CMPLXL(y, x + x)); 181 return (CMPLXL(x + x, y)); 182 return (CMPLXL(nan_mix(x, y), nan_mix(x, y))); 190 return (CMPLXL(copysignl(creall(w), x), 207 return (CMPLXL(copysignl(rx, x), copysignl(ry, y))); 215 w = casinhl(CMPLXL(cimagl(z), creall(z))); 216 return (CMPLXL(cimagl(w), creall(w))); 236 return (CMPLXL(y + y, -INFINITY)); 238 return (CMPLXL( [all...] |
H A D | s_clogl.c | 86 RETURNI(CMPLXL(logl(hypotl(x, y)), v)); 91 RETURNI(CMPLXL((ay / 2) * ay, v)); 92 RETURNI(CMPLXL(log1pl(ay * ay) / 2, v)); 97 RETURNI(CMPLXL(logl(ax), v)); 101 RETURNI(CMPLXL(logl(hypotl(x * 0x1p-16382L, y * 0x1p-16382L)) + 104 RETURNI(CMPLXL(logl(hypotl(x, y)), v)); 108 RETURNI(CMPLXL(logl(hypotl(x * 0x1p16383L, y * 0x1p16383L)) + 113 RETURNI(CMPLXL(logl(hypotl(x, y)), v)); 155 RETURNI(CMPLXL(logl(ay2l + ax2l + sl + sh) / 2, v)); 164 RETURNI(CMPLXL(log1p [all...] |
H A D | s_cpowl.c | 60 return (CMPLXL(0.0L, 0.0L)); 69 w = CMPLXL(r * cosl(theta), r * sinl(theta));
|
H A D | math_private.h | 536 * The C11 standard introduced the macros CMPLX(), CMPLXF() and CMPLXL() 565 #ifndef CMPLXL 567 CMPLXL(long double x, long double y) function
|
/freebsd-current/lib/msun/ld80/ |
H A D | s_cexpl.c | 59 RETURNI(CMPLXL(expl(x), y)); 64 RETURNI(CMPLXL(c, s)); 71 RETURNI(CMPLXL(y - y, y - y)); 74 RETURNI(CMPLXL(0.0, 0.0)); 77 RETURNI(CMPLXL(x, y - y)); 102 RETURNI(CMPLXL(exp_x * c, exp_x * s));
|
H A D | k_expl.h | 295 return (CMPLXL(c * exp_x * scale1 * scale2,
|
/freebsd-current/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
|