Lines Matching defs:excepts
71 * floating-point exceptions represented by excepts.
74 feclearexcept(int excepts)
79 unsigned int tmp = reg_fpsr_read() & ~__SHIFTIN(excepts, FPSR_CSUM);
87 * status flags indicated by the argument excepts in the object pointed to by
91 fegetexceptflag(fexcept_t *flagp, int excepts)
94 *flagp = __SHIFTOUT(reg_fpsr_read(), FPSR_CSUM) & excepts;
100 * floating-point exceptions represented by the argument excepts. The order
104 feraiseexcept(int excepts)
110 excepts &= FE_ALL_EXCEPT; /* paranoia */
111 fpsr |= __SHIFTIN(excepts, FPSR_CSUM);
118 * status flags indicated by the argument excepts to the states stored in the
122 * argument excepts. This function does not raise floating-point exceptions,
126 fesetexceptflag(const fexcept_t *flagp, int excepts)
132 fpsr &= ~__SHIFTIN(excepts, FPSR_CSUM);
133 fpsr |= __SHIFTIN((*flagp & excepts), FPSR_CSUM);
140 * the floating-point exception flags are currently set. The excepts argument
144 fetestexcept(int excepts)
147 return __SHIFTOUT(reg_fpsr_read(), FPSR_CSUM) & excepts;
237 feenableexcept(int excepts)
240 reg_fpcr_write((__fpcr & ~FPCR_ESUM) | __SHIFTIN(excepts, FPCR_ESUM));
245 fedisableexcept(int excepts)
248 reg_fpcr_write(__fpcr & ~__SHIFTIN(excepts, FPCR_ESUM));