Lines Matching defs:excepts
91 raiseexcept(int excepts)
102 if (excepts & FE_INVALID) {
106 if (excepts & FE_DIVBYZERO) {
110 if (excepts & FE_OVERFLOW) {
114 if (excepts & FE_UNDERFLOW) {
118 if (excepts & FE_INEXACT) {
217 int excepts, i;
222 excepts = std_except_sets[i];
225 raiseexcept(excepts);
226 assert(fetestexcept(excepts) == excepts);
230 raiseexcept(excepts);
231 assert(fetestexcept(excepts) == excepts);
232 if ((excepts & (FE_UNDERFLOW | FE_OVERFLOW)) != 0) {
233 excepts |= FE_INEXACT;
235 excepts);
237 assert(fetestexcept(ALL_STD_EXCEPT) == excepts);
239 assert(feclearexcept(excepts) == 0);
253 int excepts, i;
257 excepts = std_except_sets[i];
259 assert(fegetexceptflag(&flag, excepts) == 0);
261 assert(fesetexceptflag(&flag, excepts) == 0);
263 (ALL_STD_EXCEPT ^ excepts));
267 assert(fesetexceptflag(&flag, excepts) == 0);
269 assert(fesetexceptflag(&flag, ALL_STD_EXCEPT ^ excepts) == 0);
271 (ALL_STD_EXCEPT ^ excepts));
285 int excepts, i;
288 excepts = std_except_sets[i];
291 assert(feraiseexcept(excepts) == 0);
292 if ((excepts & (FE_UNDERFLOW | FE_OVERFLOW)) != 0) {
293 excepts |= FE_INEXACT;
295 excepts);
297 assert(fetestexcept(ALL_STD_EXCEPT) == excepts);
350 int excepts, i;
353 excepts = std_except_sets[i];
364 raiseexcept(excepts);
365 if ((excepts & (FE_UNDERFLOW | FE_OVERFLOW)) != 0 &&
366 (excepts & FE_INEXACT) == 0)
376 assert(fetestexcept(FE_ALL_EXCEPT) == excepts);