math: cleaner makefile for the test case generator
[libc-test] / src / math / roundf.c
index d572d94..345d4f3 100644 (file)
@@ -4,6 +4,7 @@
 
 static struct f_f t[] = {
 #include "sanity/roundf.h"
+#include "special/roundf.h"
 
 };
 
@@ -32,7 +33,7 @@ int main(void)
                        err++;
                }
                d = ulperrf(y, p->y, p->dy);
-               if (!checkulp(d, p->r)) {
+               if (!checkcr(y, p->y, p->r)) {
                        printf("%s:%d: %s roundf(%a) want %a got %a ulperr %.3f = %a + %a\n",
                                p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy);
                        err++;