#include <stdint.h>
#include <stdio.h>
-#include "util.h"
+#include "mtest.h"
static struct f_i t[] = {
#include "sanity/lrintf.h"
+#include "special/lrintf.h"
};
{
#pragma STDC FENV_ACCESS ON
long long yi;
- float d;
int e, i, err = 0;
struct f_i *p;
printf(" got %s\n", estr(e));
err++;
}
- if (yi != p->i) {
+ if (!(p->e&INVALID) && yi != p->i) {
printf("%s:%d: %s lrintf(%a) want %lld got %lld\n",
p->file, p->line, rstr(p->r), p->x, p->i, yi);
err++;