add ere backref regression test
[libc-test] / src / math / frexpf.c
index a406523..35dc913 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdint.h>
 #include <stdio.h>
-#include "util.h"
+#include "mtest.h"
 
 static struct f_fi t[] = {
 #include "sanity/frexpf.h"
@@ -27,7 +27,7 @@ int main(void)
                y = frexpf(p->x, &yi);
                e = fetestexcept(INEXACT|INVALID|DIVBYZERO|UNDERFLOW|OVERFLOW);
 
-               if (!checkexcept(e, p->e, p->r)) {
+               if (!checkexceptall(e, p->e, p->r)) {
                        printf("%s:%d: bad fp exception: %s frexpf(%a)=%a,%lld, want %s",
                                p->file, p->line, rstr(p->r), p->x, p->y, p->i, estr(p->e));
                        printf(" got %s\n", estr(e));