flockfile list corruption test
[libc-test] / src / math / scalblnl.c
index fc9d0d8..2492483 100644 (file)
@@ -1,13 +1,15 @@
 #include <stdint.h>
 #include <stdio.h>
-#include "util.h"
+#include "mtest.h"
 
 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
 };
@@ -30,7 +32,7 @@ int main(void)
                y = scalblnl(p->x, p->i);
                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 scalblnl(%La, %lld)=%La, want %s",
                                p->file, p->line, rstr(p->r), p->x, p->i, p->y, estr(p->e));
                        printf(" got %s\n", estr(e));