Lines Matching defs:excepts
79 static void raiseexcept(int excepts);
174 int excepts, i;
179 excepts = std_except_sets[i];
182 raiseexcept(excepts);
183 assert(fetestexcept(excepts) == excepts);
187 raiseexcept(excepts);
188 assert(fetestexcept(excepts) == excepts);
189 if ((excepts & (FE_UNDERFLOW | FE_OVERFLOW)) != 0) {
190 excepts |= FE_INEXACT;
192 excepts);
194 assert(fetestexcept(ALL_STD_EXCEPT) == excepts);
196 assert(feclearexcept(excepts) == 0);
210 int excepts, i;
214 excepts = std_except_sets[i];
216 assert(fegetexceptflag(&flag, excepts) == 0);
218 assert(fesetexceptflag(&flag, excepts) == 0);
220 (ALL_STD_EXCEPT ^ excepts));
224 assert(fesetexceptflag(&flag, excepts) == 0);
226 assert(fesetexceptflag(&flag, ALL_STD_EXCEPT ^ excepts) == 0);
228 (ALL_STD_EXCEPT ^ excepts));
242 int excepts, i;
245 excepts = std_except_sets[i];
248 assert(feraiseexcept(excepts) == 0);
249 if ((excepts & (FE_UNDERFLOW | FE_OVERFLOW)) != 0) {
250 excepts |= FE_INEXACT;
252 excepts);
254 assert(fetestexcept(ALL_STD_EXCEPT) == excepts);
307 int excepts, i;
310 excepts = std_except_sets[i];
321 raiseexcept(excepts);
322 if ((excepts & (FE_UNDERFLOW | FE_OVERFLOW)) != 0 &&
323 (excepts & FE_INEXACT) == 0)
333 assert(fetestexcept(FE_ALL_EXCEPT) == excepts);
502 raiseexcept(int excepts)
513 if (excepts & FE_INVALID) {
517 if (excepts & FE_DIVBYZERO) {
521 if (excepts & FE_OVERFLOW) {
525 if (excepts & FE_UNDERFLOW) {
529 if (excepts & FE_INEXACT) {