math: fix makefile so .o files are kept
[libc-test] / src / math / modf.c
index 86be04f..a8e26c1 100644 (file)
@@ -4,6 +4,7 @@
 
 static struct d_dd t[] = {
 #include "sanity/modf.h"
+#include "special/modf.h"
 };
 
 int main(void)
@@ -32,7 +33,7 @@ int main(void)
                }
                d = ulperr(y, p->y, p->dy);
                di = ulperr(yi, p->y2, p->dy2);
-               if (!checkulp(d, p->r) || !checkulp(di, p->r)) {
+               if (!checkcr(y, p->y, p->r) || !checkcr(yi, p->y2, p->r)) {
                        printf("%s:%d: %s modf(%a) want %a,%a got %a,%a, ulperr %.3f = %a + %a, %.3f = %a + %a\n",
                                p->file, p->line, rstr(p->r), p->x, p->y, p->y2, y, yi, d, d-p->dy, p->dy, di, di-p->dy2, p->dy2);
                        err++;