/freebsd-11-stable/lib/msun/tests/ |
H A D | next_test.c | 113 test##prec(next(0.0, INFINITY), eps, ex_under); \ 114 test##prec(next(-0.0, -INFINITY), -eps, ex_under) 131 testall(INFINITY, INFINITY, INFINITY, 0); 132 testall(-INFINITY, -INFINITY, -INFINITY, 0); 143 testboth(1.0, -INFINITY, 1.0 - DBL_EPSILON/2, 0, ); 145 testboth(1.0, -INFINITY, 1. [all...] |
H A D | cexp_test.c | 143 testall(CMPLXL(INFINITY, NAN), CMPLXL(INFINITY, NAN), 146 testall(CMPLXL(-INFINITY, NAN), CMPLXL(0.0, 0.0), 161 testall(CMPLXL(finites[i], INFINITY), CMPLXL(NAN, NAN), 166 testall(CMPLXL(-INFINITY, M_PI_4), CMPLXL(0.0, 0.0), 168 testall(CMPLXL(-INFINITY, 3 * M_PI_4), CMPLXL(-0.0, 0.0), 170 testall(CMPLXL(-INFINITY, 5 * M_PI_4), CMPLXL(-0.0, -0.0), 172 testall(CMPLXL(-INFINITY, 7 * M_PI_4), CMPLXL(0.0, -0.0), 174 testall(CMPLXL(-INFINITY, 0.0), CMPLXL(0.0, 0.0), 176 testall(CMPLXL(-INFINITY, [all...] |
H A D | csqrt_test.c | 166 INFINITY, 167 -INFINITY, 174 assert_equal(t_csqrt(CMPLXL(-INFINITY, vals[i])), 175 CMPLXL(0.0, copysignl(INFINITY, vals[i]))); 176 assert_equal(t_csqrt(CMPLXL(INFINITY, vals[i])), 177 CMPLXL(INFINITY, copysignl(0.0, vals[i]))); 179 assert_equal(t_csqrt(CMPLXL(vals[i], INFINITY)), 180 CMPLXL(INFINITY, INFINITY)); 181 assert_equal(t_csqrt(CMPLXL(vals[i], -INFINITY)), [all...] |
H A D | invctrig_test.c | 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); 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, NA [all...] |
H A D | exponential_test.c | 107 testall0(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); 108 testall1(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); 111 testall0(-INFINITY, 0.0, ALL_STD_EXCEPT, 0); 112 testall1(-INFINITY, -1.0, ALL_STD_EXCEPT, 0); 116 testall0(50000.0, INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_OVERFLOW); 117 testall1(50000.0, INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_OVERFLOW);
|
H A D | invtrig_test.c | 137 testall(asin, INFINITY, NAN, FE_INVALID); 138 testall(acos, INFINITY, NAN, FE_INVALID); 139 testall(atan, INFINITY, pi / 2, FE_INEXACT); 140 testall(asin, -INFINITY, NAN, FE_INVALID); 141 testall(acos, -INFINITY, NAN, FE_INVALID); 142 testall(atan, -INFINITY, -pi / 2, FE_INEXACT); 164 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT); 165 testall2(atan2, -INFINITY, -INFINITY, [all...] |
H A D | fmaxmin_test.c | 131 testall(2, 42.0, nextafterf(42.0, -INFINITY)); 132 testall(3, nextafterf(42.0, INFINITY), 42.0); 139 testall(7, INFINITY, NAN); 141 testall(8, INFINITY, 1.0); 142 testall(9, -3.0, -INFINITY); 143 testall(10, 3.0, -INFINITY);
|
H A D | ilogb_test.c | 48 assert(ilogb(INFINITY) == INT_MAX); 60 assert(ilogbf(INFINITY) == INT_MAX); 72 assert(ilogbl(INFINITY) == INT_MAX);
|
H A D | conj_test.c | 64 0.0, INFINITY, 65 0.0, -INFINITY, 66 INFINITY, 0.0, 70 -INFINITY, INFINITY,
|
H A D | fma_test.c | 128 testall(INFINITY, 1.0, -1.0, INFINITY, ALL_STD_EXCEPT, 0); 129 testall(-1.0, INFINITY, 0.0, -INFINITY, ALL_STD_EXCEPT, 0); 130 testall(0.0, 0.0, INFINITY, INFINITY, ALL_STD_EXCEPT, 0); 131 testall(1.0, 1.0, INFINITY, INFINITY, ALL_STD_EXCEPT, 0); 132 testall(1.0, 1.0, -INFINITY, -INFINITY, ALL_STD_EXCEP [all...] |
H A D | logarithm_test.c | 116 testall0(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); 117 testall1(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); 120 testall0(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); 121 testall1(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); 126 testall0(0.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); 127 testall0(-0.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); 128 testall1(-1.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO);
|
H A D | nearbyint_test.c | 69 { INFINITY, { INFINITY, INFINITY, INFINITY }},
|
H A D | ctrig_test.c | 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, 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, 258 z = CMPLXL(INFINITY, INFINITY); 259 testall_odd(csinh, z, CMPLXL(INFINITY, NAN), 261 testall_even(ccosh, z, CMPLXL(INFINITY, NA [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_casinh.c | 25 { +5.032E3, +INFINITY, +INFINITY, +M_PI/2}, 26 { +INFINITY, +5.023E3, +INFINITY, +0}, 27 { +INFINITY, +INFINITY, +INFINITY, +M_PI/4}, 29 { +INFINITY, +NAN, +INFINITY, +NAN}, 33 { +NAN, +INFINITY, [all...] |
H A D | t_ilogb.c | 85 ATF_CHECK(ilogbf(INFINITY) == INT_MAX); 87 ATF_CHECK(ilogb(INFINITY) == INT_MAX); 90 ATF_CHECK(ilogbl(INFINITY) == INT_MAX); 94 ATF_CHECK(ilogbf(-INFINITY) == INT_MAX); 96 ATF_CHECK(ilogb(-INFINITY) == INT_MAX); 99 ATF_CHECK(ilogbl(-INFINITY) == INT_MAX);
|
/freebsd-11-stable/lib/libc/regex/ |
H A D | utils.h | 39 #define INFINITY (DUPMAX + 1) macro
|
/freebsd-11-stable/lib/msun/src/ |
H A D | s_cproj.c | 42 return (CMPLX(INFINITY, copysign(0.0, cimag(z))));
|
H A D | s_cprojf.c | 42 return (CMPLXF(INFINITY, copysignf(0.0, cimagf(z))));
|
H A D | s_cprojl.c | 42 return (CMPLXL(INFINITY, copysignl(0.0, cimagl(z))));
|
H A D | s_csqrtf.c | 54 return (CMPLXF(INFINITY, b));
|
H A D | s_fmal.c | 84 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo); 117 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo); 215 return (nextafterl(z, -INFINITY)); 218 return (nextafterl(z, INFINITY));
|
H A D | s_ccosh.c | 132 return (CMPLX(INFINITY, x * (y - y))); 133 return (CMPLX(INFINITY * cos(y), x * sin(y)));
|
H A D | s_ccoshf.c | 89 return (CMPLXF(INFINITY, x * (y - y))); 90 return (CMPLXF(INFINITY * cosf(y), x * sinf(y)));
|
/freebsd-11-stable/contrib/nvi/regex/ |
H A D | utils.h | 40 #define INFINITY (DUPMAX + 1) macro
|
/freebsd-11-stable/contrib/ncurses/ncurses/tty/ |
H A D | lib_mvcur.c | 225 return (INFINITY); 270 if (cost != INFINITY) 351 SP_PARM->_ht_cost = INFINITY; 352 SP_PARM->_cbt_cost = INFINITY; 525 total = INFINITY; 530 total = INFINITY; 560 vcost = INFINITY; 599 if (vcost == INFINITY) 600 return (INFINITY); 609 hcost = INFINITY; [all...] |