5 static struct d_i t[] = {
11 #pragma STDC FENV_ACCESS ON
16 for (i = 0; i < sizeof t/sizeof *t; i++) {
22 feclearexcept(FE_ALL_EXCEPT);
24 e = fetestexcept(INEXACT|INVALID|DIVBYZERO|UNDERFLOW|OVERFLOW);
26 if (!checkexcept(e, p->e, p->r)) {
27 printf("%s:%d: bad fp exception: %s ___(%a)=%lld, want %s",
28 p->file, p->line, rstr(p->r), p->x, p->i, estr(p->e));
29 printf(" got %s\n", estr(e));
33 printf("%s:%d: %s ___(%a) want %lld got %lld\n",
34 p->file, p->line, rstr(p->r), p->x, p->i, yi);