Lines Matching refs:FE_OVERFLOW
73 int raised = fetestexcept(FE_DIVBYZERO | FE_OVERFLOW); in TEST()
74 ASSERT_TRUE((raised & FE_OVERFLOW) == 0); in TEST()
78 feclearexcept(FE_OVERFLOW); in TEST()
79 ASSERT_TRUE((raised & FE_OVERFLOW) == 0); in TEST()
95 ASSERT_EQ(0, feraiseexcept(FE_DIVBYZERO | FE_OVERFLOW)); in TEST()
96 ASSERT_EQ(FE_DIVBYZERO | FE_OVERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
103 ASSERT_EQ(0, feraiseexcept(FE_OVERFLOW)); 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()
117 ASSERT_EQ(FE_OVERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
139 ASSERT_EQ(0, feraiseexcept(FE_OVERFLOW)); in TEST()
153 ASSERT_EQ(FE_DIVBYZERO | FE_OVERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
159 ASSERT_EQ(0, feraiseexcept(FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW)); in TEST()
160 ASSERT_EQ(FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
165 ASSERT_EQ(0, fegetexceptflag(&two, FE_OVERFLOW | FE_UNDERFLOW)); in TEST()
170 ASSERT_EQ(FE_DIVBYZERO | FE_OVERFLOW | FE_UNDERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
175 ASSERT_EQ(FE_OVERFLOW | FE_UNDERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
184 ASSERT_EQ(0, fesetexceptflag(&all, FE_OVERFLOW | FE_UNDERFLOW)); in TEST()
185 ASSERT_EQ(FE_OVERFLOW | FE_UNDERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
213 ASSERT_EQ(-1, feenableexcept(FE_OVERFLOW)); in TEST()