X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Filogb.c;h=3d646bce1d04c83a0d40f3014670c51b9a2eaf7f;hb=b3580f11bf7b91afd597e6224c2f265d6d0b087f;hp=c0915a101468a1057dd36b1177249d43d9007739;hpb=2146d5e12aa52cb97f0a151e2611967f0653a07a;p=libc-test diff --git a/src/math/ilogb.c b/src/math/ilogb.c index c0915a1..3d646bc 100644 --- a/src/math/ilogb.c +++ b/src/math/ilogb.c @@ -4,14 +4,14 @@ static struct d_i t[] = { #include "sanity/ilogb.h" +#include "special/ilogb.h" }; int main(void) { #pragma STDC FENV_ACCESS ON - int yi; - float d; + long long yi; int e, i, err = 0; struct d_i *p; @@ -32,7 +32,7 @@ int main(void) err++; } if (yi != p->i) { - printf("%s:%d: %s ilogb(%a) want %lld got %d\n", + printf("%s:%d: %s ilogb(%a) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++; }