Home
last modified time | relevance | path

Searched refs:excepts (Results 1 – 3 of 3) sorted by relevance

/bionic/libm/arm64/
Dfenv.c71 int feclearexcept(int excepts) { in feclearexcept() argument
74 excepts &= FE_ALL_EXCEPT; in feclearexcept()
76 fpsr &= ~excepts; in feclearexcept()
81 int fegetexceptflag(fexcept_t* flagp, int excepts) { in fegetexceptflag() argument
84 excepts &= FE_ALL_EXCEPT; in fegetexceptflag()
86 *flagp = fpsr & excepts; in fegetexceptflag()
90 int fesetexceptflag(const fexcept_t* flagp, int excepts) { in fesetexceptflag() argument
93 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()
95 fpsr &= ~excepts; in fesetexceptflag()
96 fpsr |= *flagp & excepts; in fesetexceptflag()
[all …]
/bionic/libm/amd64/
Dfenv.c82 feclearexcept(int excepts) in feclearexcept() argument
87 excepts &= FE_ALL_EXCEPT; in feclearexcept()
93 fenv.__x87.__status &= ~excepts; in feclearexcept()
100 mxcsr &= ~excepts; in feclearexcept()
112 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
117 excepts &= FE_ALL_EXCEPT; in fegetexceptflag()
126 *flagp = (status | mxcsr) & excepts; in fegetexceptflag()
142 feraiseexcept(int excepts) in feraiseexcept() argument
144 excepts &= FE_ALL_EXCEPT; in feraiseexcept()
146 fesetexceptflag((fexcept_t *)&excepts, excepts); in feraiseexcept()
[all …]
/bionic/libm/i387/
Dfenv.c140 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
145 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()
146 if (excepts) { /* Do nothing if excepts is 0 */ in fesetexceptflag()
148 env.__status &= ~excepts; in fesetexceptflag()
149 env.__status |= *flagp & excepts; in fesetexceptflag()
154 mxcsr &= ~excepts; in fesetexceptflag()
155 mxcsr |= *flagp & excepts; in fesetexceptflag()
164 feraiseexcept(int excepts) in feraiseexcept() argument
166 fexcept_t ex = excepts; in feraiseexcept()
168 fesetexceptflag(&ex, excepts); in feraiseexcept()
[all …]