#include <stdint.h>
#include <stdio.h>
-#include "util.h"
+#include "mtest.h"
static struct dd_d t[] = {
#include "sanity/copysign.h"
y = copysign(p->x, p->x2);
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 copysign(%a,%a)=%a, want %s",
p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e));
printf(" got %s\n", estr(e));