/freebsd-10-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 | 135 testall(CMPLXL(INFINITY, NAN), CMPLXL(INFINITY, NAN), 138 testall(CMPLXL(-INFINITY, NAN), CMPLXL(0.0, 0.0), 153 testall(CMPLXL(finites[i], INFINITY), CMPLXL(NAN, NAN), 158 testall(CMPLXL(-INFINITY, M_PI_4), CMPLXL(0.0, 0.0), 160 testall(CMPLXL(-INFINITY, 3 * M_PI_4), CMPLXL(-0.0, 0.0), 162 testall(CMPLXL(-INFINITY, 5 * M_PI_4), CMPLXL(-0.0, -0.0), 164 testall(CMPLXL(-INFINITY, 7 * M_PI_4), CMPLXL(0.0, -0.0), 166 testall(CMPLXL(-INFINITY, 0.0), CMPLXL(0.0, 0.0), 168 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 | 188 z = CMPLXL(NAN, INFINITY); 189 testall(cacosh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, CS_REAL); 190 testall(cacosh, -z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, CS_REAL); 191 testall(cacos, z, CMPLXL(NAN, -INFINITY), ALL_STD_EXCEPT, 0, CS_IMAG); 192 testall(casinh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 0); 193 testall(casin, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, CS_IMAG); 197 z = CMPLXL(INFINITY, NAN); 198 testall_even(cacosh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 200 testall_even(cacos, z, CMPLXL(NAN, INFINITY), ALL_STD_EXCEPT, 0, 0); 201 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 | 138 testall(asin, INFINITY, NAN, FE_INVALID); 139 testall(acos, INFINITY, NAN, FE_INVALID); 140 testall(atan, INFINITY, pi / 2, FE_INEXACT); 141 testall(asin, -INFINITY, NAN, FE_INVALID); 142 testall(acos, -INFINITY, NAN, FE_INVALID); 143 testall(atan, -INFINITY, -pi / 2, FE_INEXACT); 165 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT); 166 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 | ctrig_test.c | 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, 199 z = CMPLXL(INFINITY, NAN); 200 testall_odd(csinh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 0); 201 testall_even(ccosh, z, CMPLXL(INFINITY, NAN), ALL_STD_EXCEPT, 0, 241 z = CMPLXL(INFINITY, INFINITY); 242 testall_odd(csinh, z, CMPLXL(INFINITY, NAN), 244 testall_even(ccosh, z, CMPLXL(INFINITY, NA [all...] |
H A D | logarithm_test.c | 115 testall0(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); 116 testall1(INFINITY, INFINITY, ALL_STD_EXCEPT, 0); 119 testall0(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); 120 testall1(-INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); 125 testall0(0.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); 126 testall0(-0.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO); 127 testall1(-1.0, -INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_DIVBYZERO);
|
H A D | nearbyint_test.c | 68 { INFINITY, { INFINITY, INFINITY, INFINITY }},
|
/freebsd-10-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-10-stable/contrib/nvi/regex/ |
H A D | utils.h | 44 #define INFINITY (DUPMAX + 1) macro
|
/freebsd-10-stable/lib/libc/regex/ |
H A D | utils.h | 39 #define INFINITY (DUPMAX + 1) macro
|
/freebsd-10-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_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_csqrtf.c | 54 return (CMPLXF(INFINITY, b));
|
H A D | s_ccosh.c | 132 return (CMPLX(INFINITY, x * (y - y))); 133 return (CMPLX(INFINITY * cos(y), x * sin(y)));
|
/freebsd-10-stable/contrib/llvm/lib/Support/ |
H A D | IsInf.cpp | 39 static int isinf(double x) { return ((x) == INFINITY) || ((x) == -INFINITY); }
|
/freebsd-10-stable/contrib/ncurses/ncurses/tty/ |
H A D | tty_display.h | 109 : INFINITY)) 118 : INFINITY)))
|