/freebsd/lib/msun/tests/ |
H A D | fenv_test.c | 177 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 D | conj_test.c | 90 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 D | exponential_test.c | 60 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 D | lround_test.c | 42 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \ 44 CHECK_FP_EXCEPTIONS_MSG(excepts, FE_ALL_EXCEPT, "for %s(%s)", \
|
H A D | lrint_test.c | 44 ATF_CHECK(feclearexcept(FE_ALL_EXCEPT) == 0); \ 49 CHECK_FP_EXCEPTIONS_MSG(excepts, FE_ALL_EXCEPT & ALL_STD_EXCEPT, \
|
H A D | logarithm_test.c | 60 ATF_CHECK_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \ 130 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); in ATF_TC_BODY()
|
H A D | invtrig_test.c | 54 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \ 84 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \
|
H A D | trig_test.c | 62 ATF_CHECK(feclearexcept(FE_ALL_EXCEPT) == 0); \
|
H A D | cexp_test.c | 62 ATF_REQUIRE_EQ(0, feclearexcept(FE_ALL_EXCEPT)); \
|
/freebsd/lib/msun/arm/ |
H A D | fenv.h | 49 #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 D | fenv.c | 62 #define __env_flags(env) ((env) & FE_ALL_EXCEPT) 64 & FE_ALL_EXCEPT)
|
/freebsd/lib/msun/amd64/ |
H A D | fenv.c | 107 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 D | fenv.c | 157 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 D | fenv.h | 50 #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 D | t_fenv.c | 165 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 D | t_ilogb.c | 46 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 D | t_scalbn.c | 88 feclearexcept(FE_ALL_EXCEPT); in ATF_TC_BODY()
|
/freebsd/lib/msun/powerpc/ |
H A D | fenv.h | 82 #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 D | fenv.c | 70 mtspr(SPR_SPEFSCR, spefscr | (__excepts & FE_ALL_EXCEPT)); in feraiseexcept()
|
/freebsd/lib/msun/x86/ |
H A D | fenv.h | 49 #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 D | fenv.h | 54 #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 D | ulp.h | 116 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 D | scanfloat_test.c | 184 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 D | t_siginfo.c | 335 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 D | cfenv | 25 FE_ALL_EXCEPT
|