X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Flogb.c;h=b0ec283eebb6fa12edd548defef00b3bf908ea9c;hb=e248db1c46f61cf34548e739bc6ff106013b1ba2;hp=597bd51ec30b9c989d46b10760d634cffedc19d3;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/logb.c b/src/math/logb.c index 597bd51..b0ec283 100644 --- a/src/math/logb.c +++ b/src/math/logb.c @@ -4,6 +4,7 @@ static struct d_d t[] = { #include "sanity/logb.h" +#include "special/logb.h" }; @@ -32,7 +33,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 logb(%a) want %a got %a ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); err++;