5 static struct l_i t[] = {
6 #if LDBL_MANT_DIG == 53
8 #elif LDBL_MANT_DIG == 64
15 #pragma STDC FENV_ACCESS ON
21 for (i = 0; i < sizeof t/sizeof *t; i++) {
27 feclearexcept(FE_ALL_EXCEPT);
29 e = fetestexcept(INEXACT|INVALID|DIVBYZERO|UNDERFLOW|OVERFLOW);
31 if (!checkexcept(e, p->e, p->r)) {
32 printf("%s:%d: bad fp exception: %s ___(%La)=%lld, want %s",
33 p->file, p->line, rstr(p->r), p->x, p->i, estr(p->e));
34 printf(" got %s\n", estr(e));
38 printf("%s:%d: %s ___(%La) want %lld got %d\n",
39 p->file, p->line, rstr(p->r), p->x, p->i, yi);