Searched refs:FE_ALL_EXCEPT (Results 1 – 12 of 12) sorted by relevance
68 feclearexcept(FE_ALL_EXCEPT); in TEST()69 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()84 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()92 feclearexcept(FE_ALL_EXCEPT); in TEST()93 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()96 ASSERT_EQ(FE_DIVBYZERO | FE_OVERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()101 feclearexcept(FE_ALL_EXCEPT); in TEST()102 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()108 ASSERT_EQ(FE_OVERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()112 ASSERT_EQ(FE_DIVBYZERO | FE_OVERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()[all …]
1072 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()1074 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()1076 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()1078 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()1080 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()1082 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()1084 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()1086 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()1088 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()1099 feclearexcept(FE_ALL_EXCEPT); // nearbyint/nearbyintf/nearbyintl don't set the FE_INEXACT flag. in TEST()[all …]
87 excepts &= FE_ALL_EXCEPT; in feclearexcept()117 excepts &= FE_ALL_EXCEPT; in fegetexceptflag()144 excepts &= FE_ALL_EXCEPT; in feraiseexcept()163 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()195 excepts &= FE_ALL_EXCEPT; in fetestexcept()307 mxcsr &= ~FE_ALL_EXCEPT; in feholdexcept()310 mxcsr |= FE_ALL_EXCEPT << SSE_MASK_SHIFT; in feholdexcept()376 mask &= FE_ALL_EXCEPT; in feenableexcept()381 omask = ~(control | (mxcsr >> SSE_MASK_SHIFT)) & FE_ALL_EXCEPT; in feenableexcept()397 mask &= FE_ALL_EXCEPT; in fedisableexcept()[all …]
145 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()200 env.__status &= ~FE_ALL_EXCEPT; in feholdexcept()201 env.__control |= FE_ALL_EXCEPT; in feholdexcept()208 mxcsr &= ~FE_ALL_EXCEPT; in feholdexcept()209 mxcsr |= FE_ALL_EXCEPT << _SSE_EMASK_SHIFT; in feholdexcept()228 feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT); in feupdateenv()238 mask &= FE_ALL_EXCEPT; in feenableexcept()245 omask = ~(control | mxcsr >> _SSE_EMASK_SHIFT) & FE_ALL_EXCEPT; in feenableexcept()263 mask &= FE_ALL_EXCEPT; in fedisableexcept()270 omask = ~(control | mxcsr >> _SSE_EMASK_SHIFT) & FE_ALL_EXCEPT; in fedisableexcept()[all …]
73 fpsr &= ~(excepts & FE_ALL_EXCEPT); in feclearexcept()81 *flagp = fpsr & (excepts & FE_ALL_EXCEPT); in fegetexceptflag()86 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()104 return (fpsr & (excepts & FE_ALL_EXCEPT)); in fetestexcept()127 feclearexcept(FE_ALL_EXCEPT); in feholdexcept()132 int excepts = fetestexcept(FE_ALL_EXCEPT); in feupdateenv()
49 __asm__ __volatile__("csrc fflags, %0" : : "r"(excepts & FE_ALL_EXCEPT)); in feclearexcept()54 *flagp = fetestexcept(excepts & FE_ALL_EXCEPT); in fegetexceptflag()89 feclearexcept(FE_ALL_EXCEPT); in feholdexcept()94 int excepts = fetestexcept(FE_ALL_EXCEPT); in feupdateenv()
103 __env &= ~FE_ALL_EXCEPT; in feholdexcept()112 feraiseexcept(__fpscr & FE_ALL_EXCEPT); in feupdateenv()
44 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW) macro
66 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW | FE_DEN… macro
51 #define FE_ALL_EXCEPT (FE_INVALID | FE_DENORMAL | FE_DIVBYZERO | \ macro
57 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_DENORMAL | FE_INEXACT | \ macro
43 MACRO(FE_ALL_EXCEPT); in fenv_h()