Home
last modified time | relevance | path

Searched refs:FE_ALL_EXCEPT (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/lib/msun/tests/
H A Dfenv_test.c177 CHECK_FP_EXCEPTIONS(0, FE_ALL_EXCEPT); in ATF_TC_BODY()
206 CHECK_FP_EXCEPTIONS(0, FE_ALL_EXCEPT); in ATF_TC_BODY()
225 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
226 ATF_CHECK_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
252 CHECK_FP_EXCEPTIONS(0, FE_ALL_EXCEPT); in ATF_TC_BODY()
261 ATF_CHECK_EQ(0, fegetexceptflag(&flag, FE_ALL_EXCEPT)); in ATF_TC_BODY()
262 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
268 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
285 ATF_CHECK_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
293 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
[all …]
H A Dconj_test.c90 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
95 ATF_REQUIRE_EQ_MSG(0, fetestexcept(FE_ALL_EXCEPT), in ATF_TC_BODY()
97 cimag(in), fetestexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
99 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
102 ATF_REQUIRE_EQ_MSG(0, fetestexcept(FE_ALL_EXCEPT), in ATF_TC_BODY()
104 cimag(in), fetestexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
106 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
109 ATF_REQUIRE_EQ_MSG(0, fetestexcept(FE_ALL_EXCEPT), in ATF_TC_BODY()
111 cimag(in), fetestexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
H A Dexponential_test.c60 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \
132 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
142 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
152 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
H A Dlround_test.c42 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \
44 CHECK_FP_EXCEPTIONS_MSG(excepts, FE_ALL_EXCEPT, "for %s(%s)", \
H A Dlrint_test.c44 ATF_CHECK(feclearexcept(FE_ALL_EXCEPT) == 0); \
49 CHECK_FP_EXCEPTIONS_MSG(excepts, FE_ALL_EXCEPT & ALL_STD_EXCEPT, \
H A Dlogarithm_test.c60 ATF_CHECK_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \
130 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
H A Dinvtrig_test.c54 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \
84 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \
H A Dtrig_test.c62 ATF_CHECK(feclearexcept(FE_ALL_EXCEPT) == 0); \
H A Dcexp_test.c62 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \
/freebsd/lib/msun/arm/
H A Dfenv.h49 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ macro
52 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ macro
84 #define _ENABLE_MASK (FE_ALL_EXCEPT << _FPUSW_SHIFT)
200 __env &= ~(FE_ALL_EXCEPT); in feholdexcept()
220 feraiseexcept(__fpsr & FE_ALL_EXCEPT); in feupdateenv()
235 ((__mask & FE_ALL_EXCEPT) << _FPU_MASK_SHIFT); in feenableexcept()
237 return ((__old_fpsr >> _FPU_MASK_SHIFT) & FE_ALL_EXCEPT); in feenableexcept()
247 ~((__mask & FE_ALL_EXCEPT) << _FPU_MASK_SHIFT); in fedisableexcept()
249 return ((__old_fpsr >> _FPU_MASK_SHIFT) & FE_ALL_EXCEPT); in fedisableexcept()
258 return (__fpsr & FE_ALL_EXCEPT); in fegetexcept()
H A Dfenv.c62 #define __env_flags(env) ((env) & FE_ALL_EXCEPT)
64 & FE_ALL_EXCEPT)
/freebsd/lib/msun/amd64/
H A Dfenv.c107 mxcsr &= ~FE_ALL_EXCEPT; in feholdexcept()
108 mxcsr |= FE_ALL_EXCEPT << _SSE_EMASK_SHIFT; in feholdexcept()
124 feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT); in feupdateenv()
134 mask &= FE_ALL_EXCEPT; in __feenableexcept()
137 omask = ~(control | mxcsr >> _SSE_EMASK_SHIFT) & FE_ALL_EXCEPT; in __feenableexcept()
151 mask &= FE_ALL_EXCEPT; in __fedisableexcept()
154 omask = ~(control | mxcsr >> _SSE_EMASK_SHIFT) & FE_ALL_EXCEPT; in __fedisableexcept()
/freebsd/lib/msun/i387/
H A Dfenv.c157 mxcsr &= ~FE_ALL_EXCEPT; in feholdexcept()
158 mxcsr |= FE_ALL_EXCEPT << _SSE_EMASK_SHIFT; in feholdexcept()
178 feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT); in feupdateenv()
188 mask &= FE_ALL_EXCEPT; in __feenableexcept()
194 omask = ~(control | mxcsr >> _SSE_EMASK_SHIFT) & FE_ALL_EXCEPT; in __feenableexcept()
210 mask &= FE_ALL_EXCEPT; in __fedisableexcept()
216 omask = ~(control | mxcsr >> _SSE_EMASK_SHIFT) & FE_ALL_EXCEPT; in __fedisableexcept()
/freebsd/lib/msun/aarch64/
H A Dfenv.h50 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ macro
75 #define _ENABLE_MASK (FE_ALL_EXCEPT << _FPUSW_SHIFT)
205 feraiseexcept(__r & FE_ALL_EXCEPT); in feupdateenv()
219 __new_r = __old_r | ((__mask & FE_ALL_EXCEPT) << _FPUSW_SHIFT); in feenableexcept()
221 return ((__old_r >> _FPUSW_SHIFT) & FE_ALL_EXCEPT); in feenableexcept()
230 __new_r = __old_r & ~((__mask & FE_ALL_EXCEPT) << _FPUSW_SHIFT); in fedisableexcept()
232 return ((__old_r >> _FPUSW_SHIFT) & FE_ALL_EXCEPT); in fedisableexcept()
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_fenv.c165 fedisableexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
171 fedisableexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
175 fedisableexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
179 fedisableexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
183 fedisableexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
H A Dt_ilogb.c46 int r = fetestexcept(FE_ALL_EXCEPT); \
50 (void)feclearexcept(FE_ALL_EXCEPT); \
54 int r = fetestexcept(FE_ALL_EXCEPT); \
56 (void)feclearexcept(FE_ALL_EXCEPT); \
H A Dt_scalbn.c88 feclearexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
/freebsd/lib/msun/powerpc/
H A Dfenv.h82 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ macro
236 __r.__bits.__reg &= ~(FE_ALL_EXCEPT | _ENABLE_MASK); in feholdexcept()
257 __r.__bits.__reg &= FE_ALL_EXCEPT; in feupdateenv()
273 __r.__bits.__reg |= (__mask & FE_ALL_EXCEPT) >> _FPUSW_SHIFT; in feenableexcept()
286 __r.__bits.__reg &= ~((__mask & FE_ALL_EXCEPT) >> _FPUSW_SHIFT); in fedisableexcept()
H A Dfenv.c70 mtspr(SPR_SPEFSCR, spefscr | (__excepts & FE_ALL_EXCEPT)); in feraiseexcept()
/freebsd/lib/msun/x86/
H A Dfenv.h49 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_DENORMAL | FE_INEXACT | \ macro
141 return (~__control & FE_ALL_EXCEPT); in fegetexcept()
172 if (__excepts == FE_ALL_EXCEPT) { in feclearexcept()
269 if (__excepts == FE_ALL_EXCEPT) { in feclearexcept()
/freebsd/lib/msun/riscv/
H A Dfenv.h54 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ macro
192 feraiseexcept(__fcsr & FE_ALL_EXCEPT); in feupdateenv()
/freebsd/contrib/arm-optimized-routines/math/test/
H A Dulp.h116 feclearexcept (FE_ALL_EXCEPT); in T()
118 *ex = fetestexcept (FE_ALL_EXCEPT); in T()
140 feclearexcept (FE_ALL_EXCEPT); in T()
147 p->ex = fetestexcept (FE_ALL_EXCEPT); in T()
/freebsd/lib/libc/tests/stdio/
H A Dscanfloat_test.c184 feclearexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
192 feclearexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_siginfo.c335 feenableexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
386 feenableexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcfenv25 FE_ALL_EXCEPT

12