Lines Matching defs:excepts
79 static void raiseexcept(int excepts);
147 int excepts, i;
152 excepts = std_except_sets[i];
155 raiseexcept(excepts);
156 assert(fetestexcept(excepts) == excepts);
160 raiseexcept(excepts);
161 assert(fetestexcept(excepts) == excepts);
162 if ((excepts & (FE_UNDERFLOW | FE_OVERFLOW)) != 0) {
163 excepts |= FE_INEXACT;
165 excepts);
167 assert(fetestexcept(ALL_STD_EXCEPT) == excepts);
169 assert(feclearexcept(excepts) == 0);
183 int excepts, i;
187 excepts = std_except_sets[i];
189 assert(fegetexceptflag(&flag, excepts) == 0);
191 assert(fesetexceptflag(&flag, excepts) == 0);
193 (ALL_STD_EXCEPT ^ excepts));
197 assert(fesetexceptflag(&flag, excepts) == 0);
199 assert(fesetexceptflag(&flag, ALL_STD_EXCEPT ^ excepts) == 0);
201 (ALL_STD_EXCEPT ^ excepts));
215 int excepts, i;
218 excepts = std_except_sets[i];
221 assert(feraiseexcept(excepts) == 0);
222 if ((excepts & (FE_UNDERFLOW | FE_OVERFLOW)) != 0) {
223 excepts |= FE_INEXACT;
225 excepts);
227 assert(fetestexcept(ALL_STD_EXCEPT) == excepts);
280 int excepts, i;
283 excepts = std_except_sets[i];
294 raiseexcept(excepts);
295 if ((excepts & (FE_UNDERFLOW | FE_OVERFLOW)) != 0 &&
296 (excepts & FE_INEXACT) == 0)
306 assert(fetestexcept(FE_ALL_EXCEPT) == excepts);
475 raiseexcept(int excepts)
486 if (excepts & FE_INVALID) {
490 if (excepts & FE_DIVBYZERO) {
494 if (excepts & FE_OVERFLOW) {
498 if (excepts & FE_UNDERFLOW) {
502 if (excepts & FE_INEXACT) {