flockfile list corruption test
[libc-test] / src / math / remquof.c
index 55cbe9d..46cc9d5 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdint.h>
 #include <stdio.h>
-#include "util.h"
+#include "mtest.h"
 
 static struct ff_fi t[] = {
 #include "sanity/remquof.h"
@@ -33,7 +33,7 @@ int main(void)
                        err++;
                }
                d = ulperr(y, p->y, p->dy);
-               if (!checkulp(d, p->r) ||
+               if (!checkcr(y, p->y, p->r) ||
                (!isnan(p->y) && (yi & 7) != (p->i & 7)) ||
                (!isnan(p->y) && (yi < 0) != (p->i < 0))) {
                        printf("%s:%d: %s remquof(%a,%a) want %a,%lld got %a,%d ulperr %.3f = %a + %a\n",