X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffma.c;h=bb83520ece7c840485eac6d603ebf08d93b21f8d;hb=029eccef78ac52d53eafdc391b2465f44e5a2ba0;hp=4a353f9a29abe11b703766a1e45ac6acacfd630d;hpb=588927eced2aa02855723750217fe3fc26404da9;p=libc-test diff --git a/src/math/fma.c b/src/math/fma.c index 4a353f9..bb83520 100644 --- a/src/math/fma.c +++ b/src/math/fma.c @@ -4,6 +4,7 @@ static struct ddd_d t[] = { #include "sanity/fma.h" +#include "special/fma.h" }; int main(void) @@ -31,7 +32,7 @@ int main(void) err++; } d = ulperr(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + if (!checkcr(y, p->y, p->r)) { printf("%s:%d: %s fma(%a,%a,%a) want %a got %a ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->x2, p->x3, p->y, y, d, d-p->dy, p->dy); err++;