math: fix some invalid checks (remquo, lrint, lround, y0, y1, yn)
[libc-test] / src / math / scalblnl.c
index 71ef477..12eb21c 100644 (file)
@@ -5,9 +5,11 @@
 static struct li_l t[] = {
 #if LDBL_MANT_DIG == 53
 #include "sanity/scalbln.h"
+#include "special/scalbln.h"
 
 #elif LDBL_MANT_DIG == 64
 #include "sanity/scalblnl.h"
+#include "special/scalblnl.h"
 
 #endif
 };
@@ -37,7 +39,7 @@ int main(void)
                        err++;
                }
                d = ulperrl(y, p->y, p->dy);
-               if (!checkulp(d, p->r)) {
+               if (!checkcr(y, p->y, p->r)) {
                        printf("%s:%d: %s scalblnl(%La, %lld) want %La got %La ulperr %.3f = %a + %a\n",
                                p->file, p->line, rstr(p->r), p->x, p->i, p->y, y, d, d-p->dy, p->dy);
                        err++;