Home
last modified time | relevance | path

Searched refs:ALL_STD_EXCEPT (Results 1 – 15 of 15) sorted by relevance

/openbsd/regress/lib/libm/msun/
H A Dfma_test.c144 ALL_STD_EXCEPT, FE_INVALID); in test_infinities()
146 ALL_STD_EXCEPT, FE_INVALID); in test_infinities()
148 ALL_STD_EXCEPT, FE_INVALID); in test_infinities()
153 ALL_STD_EXCEPT, 0); in test_infinities()
157 ALL_STD_EXCEPT, 0); in test_infinities()
195 ALL_STD_EXCEPT, FE_INEXACT); in test_small_z()
304 ALL_STD_EXCEPT, FE_INEXACT); in test_accuracy()
317 ALL_STD_EXCEPT, FE_INEXACT); in test_accuracy()
333 ALL_STD_EXCEPT, FE_INEXACT); in test_accuracy()
346 ALL_STD_EXCEPT, FE_INEXACT); in test_accuracy()
[all …]
H A Dlogarithm_test.c100 testall0(1.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
101 testall1(0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
105 testall0(NAN, NAN, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
106 testall1(NAN, NAN, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
158 testall0(1.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
161 test(log, 1.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
168 testall1(0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
170 testall0(1.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
171 testall1(0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
174 testall0(1.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
[all …]
H A Dexponential_test.c97 testall0(0.0, 1.0, ALL_STD_EXCEPT, 0); in run_generic_tests()
98 testall1(0.0, 0.0, ALL_STD_EXCEPT, 0); in run_generic_tests()
99 testall0(-0.0, 1.0, ALL_STD_EXCEPT, 0); in run_generic_tests()
100 testall1(-0.0, -0.0, ALL_STD_EXCEPT, 0); in run_generic_tests()
103 testall0(NAN, NAN, ALL_STD_EXCEPT, 0); in run_generic_tests()
104 testall1(NAN, NAN, ALL_STD_EXCEPT, 0); in run_generic_tests()
111 testall0(-INFINITY, 0.0, ALL_STD_EXCEPT, 0); in run_generic_tests()
112 testall1(-INFINITY, -1.0, ALL_STD_EXCEPT, 0); in run_generic_tests()
138 CHECK_FP_EXCEPTIONS(0, ALL_STD_EXCEPT); in ATF_TC_BODY()
149 CHECK_FP_EXCEPTIONS(0, ALL_STD_EXCEPT); in ATF_TC_BODY()
[all …]
H A Dtrig_test.c93 testall(tan, 0.0, 0.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
95 testall(cos, 0.0, 1.0, ALL_STD_EXCEPT, 0); in ATF_TC_BODY()
235 ALL_STD_EXCEPT, FE_INEXACT); in ATF_TC_BODY()
237 ALL_STD_EXCEPT, FE_INEXACT); in ATF_TC_BODY()
239 ALL_STD_EXCEPT, FE_INEXACT); in ATF_TC_BODY()
251 ALL_STD_EXCEPT, FE_INEXACT); in ATF_TC_BODY()
253 ALL_STD_EXCEPT, FE_INEXACT); in ATF_TC_BODY()
255 ALL_STD_EXCEPT, FE_INEXACT); in ATF_TC_BODY()
257 ALL_STD_EXCEPT, FE_INEXACT); in ATF_TC_BODY()
259 ALL_STD_EXCEPT, FE_INEXACT); in ATF_TC_BODY()
[all …]
H A Dcexp_test.c151 ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
154 ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
157 ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
168 ALL_STD_EXCEPT, FE_INVALID, 1); in ATF_TC_BODY()
173 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in ATF_TC_BODY()
175 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in ATF_TC_BODY()
177 ALL_STD_EXCEPT & ~FE_INEXACT, 0, 1); in ATF_TC_BODY()
181 ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY()
183 ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY()
196 ALL_STD_EXCEPT, 0, 1); in ATF_TC_BODY()
[all …]
H A Dfenv_test.c246 ATF_CHECK_EQ(0, fetestexcept(ALL_STD_EXCEPT)); in ATF_TC_BODY()
266 raiseexcept(ALL_STD_EXCEPT); in ATF_TC_BODY()
268 ATF_CHECK_EQ((ALL_STD_EXCEPT ^ excepts), fetestexcept(ALL_STD_EXCEPT)); in ATF_TC_BODY()
273 ATF_CHECK_EQ(0, fetestexcept(ALL_STD_EXCEPT)); in ATF_TC_BODY()
275 ATF_CHECK_EQ((ALL_STD_EXCEPT ^ excepts), fetestexcept(ALL_STD_EXCEPT)); in ATF_TC_BODY()
307 ATF_CHECK_EQ(ALL_STD_EXCEPT, fetestexcept(ALL_STD_EXCEPT)); in ATF_TC_BODY()
420 } else if ((except & ALL_STD_EXCEPT) != ALL_STD_EXCEPT) { in ATF_TC_BODY()
432 ATF_CHECK_EQ(0, (fegetexcept() & ALL_STD_EXCEPT)); in ATF_TC_BODY()
444 raise = ALL_STD_EXCEPT ^ except; in ATF_TC_BODY()
514 raise = ALL_STD_EXCEPT ^ except; in ATF_TC_BODY()
[all …]
H A Dctrig_test.c144 testall_odd(csin, zero, zero, ALL_STD_EXCEPT, 0, CS_BOTH); in ATF_TC_BODY()
172 testall_odd(csinh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
173 testall_even(ccosh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
174 testall_odd(ctanh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
175 testall_odd(csin, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
176 testall_even(ccos, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
177 testall_odd(ctan, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
254 ALL_STD_EXCEPT, FE_INVALID, 0); in ATF_TC_BODY()
256 ALL_STD_EXCEPT, FE_INVALID, 0); in ATF_TC_BODY()
259 ALL_STD_EXCEPT, FE_INVALID, 0); in ATF_TC_BODY()
[all …]
H A Dinvctrig_test.c136 testall_odd(casinh, zero, zero, ALL_STD_EXCEPT, 0, CS_BOTH); in ATF_TC_BODY()
137 testall_odd(casin, zero, zero, ALL_STD_EXCEPT, 0, CS_BOTH); in ATF_TC_BODY()
139 testall_odd(catanh, zero, zero, ALL_STD_EXCEPT, 0, CS_BOTH); in ATF_TC_BODY()
140 testall_odd(catan, zero, zero, ALL_STD_EXCEPT, 0, CS_BOTH); in ATF_TC_BODY()
165 testall(cacosh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
166 testall(cacos, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
167 testall(casinh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
168 testall(casin, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
169 testall(catanh, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
170 testall(catan, z, nan_nan, ALL_STD_EXCEPT, 0, 0); in ATF_TC_BODY()
[all …]
H A Dnearbyint_test.c96 ATF_REQUIRE_EQ(0, feclearexcept(ALL_STD_EXCEPT)); in test_nearby()
103 CHECK_FP_EXCEPTIONS(0, ALL_STD_EXCEPT); in test_nearby()
110 CHECK_FP_EXCEPTIONS(0, ALL_STD_EXCEPT); in test_nearby()
125 ATF_REQUIRE_EQ(0, feclearexcept(ALL_STD_EXCEPT)); in test_modf()
139 CHECK_FP_EXCEPTIONS(0, ALL_STD_EXCEPT); in test_modf()
151 CHECK_FP_EXCEPTIONS(0, ALL_STD_EXCEPT); in test_modf()
H A Dtest-utils.h44 #define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
46 #define OPT_INVALID (ALL_STD_EXCEPT & ~FE_INVALID)
47 #define OPT_INEXACT (ALL_STD_EXCEPT & ~FE_INEXACT)
H A Dnext_test.c48 feclearexcept(ALL_STD_EXCEPT); \
53 feclearexcept(ALL_STD_EXCEPT); \
58 feclearexcept(ALL_STD_EXCEPT); \
251 actual_except = fetestexcept(ALL_STD_EXCEPT); in _testl()
H A Dfmaxmin_test.c50 ATF_REQUIRE_EQ(0, feclearexcept(ALL_STD_EXCEPT)); \
52 CHECK_FP_EXCEPTIONS_MSG(0, ALL_STD_EXCEPT, \
H A Dlrint_test.c45 CHECK_FP_EXCEPTIONS_MSG(excepts, FE_ALL_EXCEPT & ALL_STD_EXCEPT, \
H A Dinvtrig_test.c58 CHECK_FP_EXCEPTIONS_MSG(excepts, ALL_STD_EXCEPT, "for %s(%s)", \
88 CHECK_FP_EXCEPTIONS_MSG(excepts, ALL_STD_EXCEPT, "for %s(%s)", \
/openbsd/regress/lib/libm/fenv/
H A Dfenv.c193 raiseexcept(ALL_STD_EXCEPT); in test_fegsetexceptflag()
195 assert(fetestexcept(ALL_STD_EXCEPT) == in test_fegsetexceptflag()
196 (ALL_STD_EXCEPT ^ excepts)); in test_fegsetexceptflag()
203 assert(fetestexcept(ALL_STD_EXCEPT) == in test_fegsetexceptflag()
204 (ALL_STD_EXCEPT ^ excepts)); in test_fegsetexceptflag()
237 assert(fetestexcept(ALL_STD_EXCEPT) == ALL_STD_EXCEPT); in test_feraiseexcept()
350 raise = ALL_STD_EXCEPT ^ except; in test_masking()
361 & ALL_STD_EXCEPT) == 0); in test_masking()
420 raise = ALL_STD_EXCEPT ^ except; in test_feholdupdate()
436 ALL_STD_EXCEPT) == 0); in test_feholdupdate()
[all …]