5 static struct l_l t[] = {
6 #if LDBL_MANT_DIG == 53
7 #include "crlibm/log2.h"
8 #include "sanity/log2.h"
10 #elif LDBL_MANT_DIG == 64
11 #include "sanity/log2l.h"
23 for (i = 0; i < sizeof t/sizeof *t; i++) {
28 if (!checkexcept(e, p->e, p->r)) {
29 printf("%s log2l(%La)==%La except: want %s", rstr(p->r), p->x, p->y, estr(p->e));
30 printf(" got %s\n", estr(e));
33 d = ulperrl(y, p->y, p->dy);
34 if (!checkulp(d, p->r)) {
35 printf("%s log2l(%La) want %La got %La ulperr %.3f = %a + %a\n",
36 rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy);