Home
last modified time | relevance | path

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

/bionic/libm/amd64/
Dfenv.c75 feclearexcept(int excepts) in feclearexcept() argument
80 excepts &= FE_ALL_EXCEPT; in feclearexcept()
86 fenv.__x87.__status &= ~excepts; in feclearexcept()
93 mxcsr &= ~excepts; in feclearexcept()
105 fegetexceptflag(fexcept_t *flagp, int excepts) in fegetexceptflag() argument
110 excepts &= FE_ALL_EXCEPT; in fegetexceptflag()
119 *flagp = (status | mxcsr) & excepts; in fegetexceptflag()
135 feraiseexcept(int excepts) in feraiseexcept() argument
137 excepts &= FE_ALL_EXCEPT; in feraiseexcept()
139 fesetexceptflag((fexcept_t *)&excepts, excepts); in feraiseexcept()
[all …]
/bionic/libm/arm64/
Dfenv.c63 int feclearexcept(int excepts) { in feclearexcept() argument
66 excepts &= FE_ALL_EXCEPT; in feclearexcept()
68 fpsr &= ~excepts; in feclearexcept()
73 int fegetexceptflag(fexcept_t* flagp, int excepts) { in fegetexceptflag() argument
76 excepts &= FE_ALL_EXCEPT; in fegetexceptflag()
78 *flagp = fpsr & excepts; in fegetexceptflag()
82 int fesetexceptflag(const fexcept_t* flagp, int excepts) { in fesetexceptflag() argument
85 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()
87 fpsr &= ~excepts; in fesetexceptflag()
88 fpsr |= *flagp & excepts; in fesetexceptflag()
[all …]
/bionic/libm/i387/
Dfenv.c121 fesetexceptflag(const fexcept_t *flagp, int excepts) in fesetexceptflag() argument
126 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()
127 if (excepts) { /* Do nothing if excepts is 0 */ in fesetexceptflag()
129 env.__status &= ~excepts; in fesetexceptflag()
130 env.__status |= *flagp & excepts; in fesetexceptflag()
135 mxcsr &= ~excepts; in fesetexceptflag()
136 mxcsr |= *flagp & excepts; in fesetexceptflag()
145 feraiseexcept(int excepts) in feraiseexcept() argument
147 fexcept_t ex = excepts; in feraiseexcept()
149 fesetexceptflag(&ex, excepts); in feraiseexcept()
[all …]