X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnexttowardl.c;h=ac0115a8d48ba8072070d4749963855f6b3da71b;hb=4f18b8f0b3cf4a59aea5258adcdd32ba2a0b6741;hp=add01bbbfe8b01c317989a3ca7deddb531fa1e7d;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/nexttowardl.c b/src/math/nexttowardl.c index add01bb..ac0115a 100644 --- a/src/math/nexttowardl.c +++ b/src/math/nexttowardl.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ll_l t[] = { #if LDBL_MANT_DIG == 53 @@ -32,7 +32,7 @@ int main(void) y = nexttowardl(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 nexttowardl(%La,%La)=%La, want %s", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e)); printf(" got %s\n", estr(e));