Home
last modified time | relevance | path

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

/bionic/tests/
Dfenv_test.cpp66 feclearexcept(FE_ALL_EXCEPT); in TEST()
67 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()
82 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()
90 feclearexcept(FE_ALL_EXCEPT); in TEST()
91 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()
94 ASSERT_EQ(FE_DIVBYZERO | FE_OVERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
99 feclearexcept(FE_ALL_EXCEPT); in TEST()
100 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()
106 ASSERT_EQ(FE_OVERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
110 ASSERT_EQ(FE_DIVBYZERO | FE_OVERFLOW, fetestexcept(FE_ALL_EXCEPT)); in TEST()
[all …]
Dmath_test.cpp1037 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()
1039 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()
1041 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()
1043 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()
1045 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()
1047 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()
1049 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()
1051 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()
1053 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()
1064 feclearexcept(FE_ALL_EXCEPT); // nearbyint/nearbyintf/nearbyintl don't set the FE_INEXACT flag. in TEST()
[all …]
/bionic/libm/amd64/
Dfenv.c87 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 …]
/bionic/libm/i387/
Dfenv.c145 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 …]
/bionic/libm/arm64/
Dfenv.c74 excepts &= FE_ALL_EXCEPT; in feclearexcept()
84 excepts &= FE_ALL_EXCEPT; in fegetexceptflag()
93 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()
111 excepts &= FE_ALL_EXCEPT; in fetestexcept()
145 fpsr &= ~FE_ALL_EXCEPT; in feholdexcept()
162 fpsr = envp->__status | (fpsr & FE_ALL_EXCEPT); in feupdateenv()
/bionic/libc/include/bits/
Dfenv_inlines_arm.h113 __env &= ~FE_ALL_EXCEPT; in feholdexcept()
122 feraiseexcept(__fpscr & FE_ALL_EXCEPT); in feupdateenv()
Dfenv_arm.h66 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW | FE_DEN… macro
Dfenv_x86.h57 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_DENORMAL | FE_INEXACT | \ macro
Dfenv_x86_64.h51 #define FE_ALL_EXCEPT (FE_INVALID | FE_DENORMAL | FE_DIVBYZERO | \ macro
/bionic/tests/headers/posix/
Dfenv_h.c43 MACRO(FE_ALL_EXCEPT); in fenv_h()