Searched refs:INFINITY (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-10.0-release/tools/regression/lib/msun/
H A Dtest-next.c113 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 Dtest-cexp.c134 testall(CMPLXL(INFINITY, NAN), CMPLXL(INFINITY, NAN),
137 testall(CMPLXL(-INFINITY, NAN), CMPLXL(0.0, 0.0),
151 testall(CMPLXL(finites[i], INFINITY), CMPLXL(NAN, NAN),
156 testall(CMPLXL(-INFINITY, M_PI_4), CMPLXL(0.0, 0.0),
158 testall(CMPLXL(-INFINITY, 3 * M_PI_4), CMPLXL(-0.0, 0.0),
160 testall(CMPLXL(-INFINITY, 5 * M_PI_4), CMPLXL(-0.0, -0.0),
162 testall(CMPLXL(-INFINITY, 7 * M_PI_4), CMPLXL(0.0, -0.0),
164 testall(CMPLXL(-INFINITY, 0.0), CMPLXL(0.0, 0.0),
166 testall(CMPLXL(-INFINITY,
[all...]
H A Dtest-csqrt.c166 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 Dtest-invctrig.c188 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 Dtest-exponential.c98 testall0(INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
99 testall1(INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
102 testall0(-INFINITY, 0.0, ALL_STD_EXCEPT, 0);
103 testall1(-INFINITY, -1.0, ALL_STD_EXCEPT, 0);
106 testall0(50000.0, INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_OVERFLOW);
107 testall1(50000.0, INFINITY, ALL_STD_EXCEPT & ~FE_INEXACT, FE_OVERFLOW);
H A Dtest-invtrig.c122 testall(asin, INFINITY, NAN, FE_INVALID);
123 testall(acos, INFINITY, NAN, FE_INVALID);
124 testall(atan, INFINITY, pi / 2, FE_INEXACT);
125 testall(asin, -INFINITY, NAN, FE_INVALID);
126 testall(acos, -INFINITY, NAN, FE_INVALID);
127 testall(atan, -INFINITY, -pi / 2, FE_INEXACT);
149 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT);
150 testall2(atan2, -INFINITY, -INFINITY,
[all...]
H A Dtest-fmaxmin.c121 testall(2, 42.0, nextafterf(42.0, -INFINITY));
122 testall(3, nextafterf(42.0, INFINITY), 42.0);
126 testall(7, INFINITY, NAN);
127 testall(8, INFINITY, 1.0);
128 testall(9, -3.0, -INFINITY);
129 testall(10, 3.0, -INFINITY);
H A Dtest-ilogb.c48 assert(ilogb(INFINITY) == INT_MAX);
60 assert(ilogbf(INFINITY) == INT_MAX);
72 assert(ilogbl(INFINITY) == INT_MAX);
H A Dtest-conj.c64 0.0, INFINITY,
65 0.0, -INFINITY,
66 INFINITY, 0.0,
70 -INFINITY, INFINITY,
H A Dtest-fma.c126 testall(INFINITY, 1.0, -1.0, INFINITY, ALL_STD_EXCEPT, 0);
127 testall(-1.0, INFINITY, 0.0, -INFINITY, ALL_STD_EXCEPT, 0);
128 testall(0.0, 0.0, INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
129 testall(1.0, 1.0, INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
130 testall(1.0, 1.0, -INFINITY, -INFINITY, ALL_STD_EXCEP
[all...]
H A Dtest-ctrig.c190 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 Dtest-logarithm.c115 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 Dtest-nearbyint.c68 { INFINITY, { INFINITY, INFINITY, INFINITY }},
H A Dtest-trig.c98 testall(tan, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
99 testall(sin, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
100 testall(cos, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
101 testall(tan, -INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
102 testall(sin, -INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
103 testall(cos, -INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
/freebsd-10.0-release/contrib/nvi/regex/
H A Dutils.h44 #define INFINITY (DUPMAX + 1) macro
/freebsd-10.0-release/lib/libc/regex/
H A Dutils.h39 #define INFINITY (DUPMAX + 1) macro
/freebsd-10.0-release/lib/msun/src/
H A Ds_cproj.c42 return (cpack(INFINITY, copysign(0.0, cimag(z))));
H A Ds_cprojf.c42 return (cpackf(INFINITY, copysignf(0.0, cimagf(z))));
H A Ds_cprojl.c42 return (cpackl(INFINITY, copysignl(0.0, cimagl(z))));
H A Ds_csqrtf.c54 return (cpackf(INFINITY, b));
H A Ds_fmal.c84 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 Ds_csqrt.c63 return (cpack(INFINITY, b));
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DIsInf.cpp39 static int isinf(double x) { return ((x) == INFINITY) || ((x) == -INFINITY); }
/freebsd-10.0-release/contrib/ncurses/ncurses/tty/
H A Dtty_display.h109 : INFINITY))
118 : INFINITY)))
H A Dlib_mvcur.c213 return (INFINITY);
249 if (cost != INFINITY)
316 SP->_ht_cost = INFINITY;
317 SP->_cbt_cost = INFINITY;
469 total = INFINITY;
474 total = INFINITY;
499 vcost = INFINITY;
538 if (vcost == INFINITY)
539 return (INFINITY);
548 hcost = INFINITY;
[all...]

Completed in 98 milliseconds

12