5 static struct ll_l t
[] = {
6 #if LDBL_MANT_DIG == 53
8 #elif LDBL_MANT_DIG == 64
20 for (i
= 0; i
< sizeof t
/sizeof *t
; i
++) {
23 y
= nexttowardl(p
->x
, p
->x2
);
25 if (!checkexcept(e
, p
->e
, p
->r
)) {
26 printf("%s nexttowardl(%La,%La)==%La except: want %s", rstr(p
->r
), p
->x
, p
->x2
, p
->y
, estr(p
->e
));
27 printf(" got %s\n", estr(e
));
30 d
= ulperrl(y
, p
->y
, p
->dy
);
31 if (!checkulp(d
, p
->r
)) {
32 printf("%s nexttowardl(%La,%La) want %La got %La ulperr %.3f = %a + %a\n",
33 rstr(p
->r
), p
->x
, p
->x2
, p
->y
, y
, d
, d
-p
->dy
, p
->dy
);