X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fmath%2Fllroundf.c;fp=src%2Fmath%2Fllroundf.c;h=780a97487f43067a2046b55e0d2d4788f5c19f5c;hp=fcb5340108c95aa6f3300656af6de9cfbbfa87c4;hb=e084227a3608bc38230b88ea03e7b0f0804dd3ad;hpb=b5bbc6ebaeaf4381ea2436a3b410dcf4980c8efd diff --git a/src/math/llroundf.c b/src/math/llroundf.c index fcb5340..780a974 100644 --- a/src/math/llroundf.c +++ b/src/math/llroundf.c @@ -10,7 +10,7 @@ static struct f_i t[] = { int main(void) { #pragma STDC FENV_ACCESS ON - int yi; + long long yi; float d; int e, i, err = 0; struct f_i *p; @@ -32,7 +32,7 @@ int main(void) err++; } if (yi != p->i) { - printf("%s:%d: %s llroundf(%a) want %lld got %d\n", + printf("%s:%d: %s llroundf(%a) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++; }