Home
last modified time | relevance | path

Searched refs:flagp (Results 1 – 4 of 4) sorted by relevance

/bionic/libm/riscv64/
Dfenv.c53 int fegetexceptflag(fexcept_t* flagp, int excepts) { in fegetexceptflag() argument
54 *flagp = fetestexcept(excepts & FE_ALL_EXCEPT); in fegetexceptflag()
58 int fesetexceptflag(const fexcept_t* flagp, int excepts) { in fesetexceptflag() argument
59 feclearexcept((~*flagp) & excepts); in fesetexceptflag()
60 feraiseexcept(*flagp & excepts); in fesetexceptflag()
/bionic/libm/arm64/
Dfenv.c78 int fegetexceptflag(fexcept_t* flagp, int excepts) { in fegetexceptflag() argument
81 *flagp = fpsr & (excepts & FE_ALL_EXCEPT); in fegetexceptflag()
85 int fesetexceptflag(const fexcept_t* flagp, int excepts) { in fesetexceptflag() argument
90 fpsr |= *flagp & excepts; in fesetexceptflag()
/bionic/libm/amd64/
Dfenv.c112 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
126 *flagp = (status | mxcsr) & excepts; in fegetexceptflag()
158 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
170 fenv.__x87.__status |= *flagp & excepts; in fesetexceptflag()
178 mxcsr |= *flagp & excepts; in fesetexceptflag()
/bionic/libm/i387/
Dfenv.c140 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
149 env.__status |= *flagp & excepts; in fesetexceptflag()
155 mxcsr |= *flagp & excepts; in fesetexceptflag()
304 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
316 *flagp = (status | mxcsr) & excepts; in fegetexceptflag()