/barrelfish-master/usr/tests/msun/ |
H A D | fmaxmin_test.c | 121 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 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 }},
|
H A D | trig_test.c | 98 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 D | rem_test.c | 62 test_invalid(INFINITY, 0.0); 63 test_invalid(INFINITY, 1.0); 64 test_invalid(-INFINITY, 1.0);
|
H A D | lrint_test.c | 84 testall(INFINITY, IGNORE, FE_INVALID);
|
H A D | lround_test.c | 75 testall(INFINITY, IGNORE, FE_INVALID);
|
/barrelfish-master/lib/compiler-rt/test/ |
H A D | compiler_rt_logb_test.c | 34 1.e-6, -1.e-6, NAN, -NAN, INFINITY, -INFINITY, -1,
|
H A D | compiler_rt_logbf_test.c | 34 1.e-6, -1.e-6, NAN, -NAN, INFINITY, -INFINITY, -1,
|
H A D | compiler_rt_logbl_test.c | 48 1.e-6, -1.e-6, NAN, -NAN, INFINITY, -INFINITY, -1,
|
/barrelfish-master/lib/msun/src/ |
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)));
|
H A D | s_csqrt.c | 63 return (CMPLX(INFINITY, b));
|
H A D | s_csqrtl.c | 63 return (CMPLXL(INFINITY, b));
|
H A D | s_csinh.c | 132 return (CMPLX(x * cos(y), INFINITY * sin(y)));
|
H A D | s_csinhf.c | 90 return (CMPLXF(x * cosf(y), INFINITY * sinf(y)));
|
H A D | s_fma.c | 227 return (nextafter(z, -INFINITY)); 230 return (nextafter(z, INFINITY));
|
/barrelfish-master/lib/libc/tests/stdio/ |
H A D | scanfloat_test.c | 297 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 D | int_math.h | 32 #define CRT_INFINITY INFINITY
|