X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Flrint.c;h=0d4bf854bccafb2f94433a6a0ac68c398288f7f3;hb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;hp=9174030d9a52defdf96d3d656b125b9b93944609;hpb=b5bbc6ebaeaf4381ea2436a3b410dcf4980c8efd;p=libc-test diff --git a/src/math/lrint.c b/src/math/lrint.c index 9174030..0d4bf85 100644 --- a/src/math/lrint.c +++ b/src/math/lrint.c @@ -4,14 +4,14 @@ static struct d_i t[] = { #include "sanity/lrint.h" +#include "special/lrint.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 lrint(%a) want %lld got %d\n", + printf("%s:%d: %s lrint(%a) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++; }