5 static struct d_d t[] = {
6 #include "crlibm/exp.h"
8 #include "sanity/exp.h"
19 for (i = 0; i < sizeof t/sizeof *t; i++) {
24 if (!checkexcept(e, p->e, p->r)) {
25 printf("%s:%d: bad fp exception: %s exp(%a)=%a, want %s",
26 p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e));
27 printf(" got %s\n", estr(e));
30 d = ulperr(y, p->y, p->dy);
31 if (!checkulp(d, p->r)) {
32 printf("%s:%d: %s exp(%a) want %a got %a ulperr %.3f = %a + %a\n",
33 p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy);