Searched refs:INFINITY (Results 26 - 50 of 57) sorted by relevance

123

/barrelfish-master/usr/tests/msun/
H A Dfmaxmin_test.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 Dilogb_test.c48 assert(ilogb(INFINITY) == INT_MAX);
60 assert(ilogbf(INFINITY) == INT_MAX);
72 assert(ilogbl(INFINITY) == INT_MAX);
H A Dconj_test.c64 0.0, INFINITY,
65 0.0, -INFINITY,
66 INFINITY, 0.0,
70 -INFINITY, INFINITY,
H A Dfma_test.c128 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 Dctrig_test.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 Dlogarithm_test.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 Dnearbyint_test.c68 { INFINITY, { INFINITY, INFINITY, INFINITY }},
H A Dtrig_test.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);
H A Drem_test.c62 test_invalid(INFINITY, 0.0);
63 test_invalid(INFINITY, 1.0);
64 test_invalid(-INFINITY, 1.0);
H A Dlrint_test.c84 testall(INFINITY, IGNORE, FE_INVALID);
H A Dlround_test.c75 testall(INFINITY, IGNORE, FE_INVALID);
/barrelfish-master/lib/compiler-rt/test/
H A Dcompiler_rt_logb_test.c34 1.e-6, -1.e-6, NAN, -NAN, INFINITY, -INFINITY, -1,
H A Dcompiler_rt_logbf_test.c34 1.e-6, -1.e-6, NAN, -NAN, INFINITY, -INFINITY, -1,
H A Dcompiler_rt_logbl_test.c48 1.e-6, -1.e-6, NAN, -NAN, INFINITY, -INFINITY, -1,
/barrelfish-master/lib/msun/src/
H A Ds_csqrtf.c54 return (CMPLXF(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_ccosh.c132 return (CMPLX(INFINITY, x * (y - y)));
133 return (CMPLX(INFINITY * cos(y), x * sin(y)));
H A Ds_ccoshf.c89 return (CMPLXF(INFINITY, x * (y - y)));
90 return (CMPLXF(INFINITY * cosf(y), x * sinf(y)));
H A Ds_csqrt.c63 return (CMPLX(INFINITY, b));
H A Ds_csqrtl.c63 return (CMPLXL(INFINITY, b));
H A Ds_csinh.c132 return (CMPLX(x * cos(y), INFINITY * sin(y)));
H A Ds_csinhf.c90 return (CMPLXF(x * cosf(y), INFINITY * sinf(y)));
H A Ds_fma.c227 return (nextafter(z, -INFINITY));
230 return (nextafter(z, INFINITY));
/barrelfish-master/lib/libc/tests/stdio/
H A Dscanfloat_test.c297 ATF_REQUIRE(strtof("3.5e38", &endp) == INFINITY);
298 ATF_REQUIRE(strtod("2e308", &endp) == INFINITY);
303 ATF_REQUIRE(strtof("3.5e38", &endp) == INFINITY);
304 ATF_REQUIRE(strtod("2e308", &endp) == INFINITY);
/barrelfish-master/lib/compiler-rt/builtins/
H A Dint_math.h32 #define CRT_INFINITY INFINITY

Completed in 113 milliseconds

123