X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fremquol.c;h=3f34f68513f59fee2777fc7e6f508f206a966e95;hb=3bd0bf0bc472f257e65a16d990ff131d1fe518b6;hp=257b044777628cc2572e183869da7925b749d88b;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/remquol.c b/src/math/remquol.c index 257b044..3f34f68 100644 --- a/src/math/remquol.c +++ b/src/math/remquol.c @@ -3,8 +3,15 @@ #include "mtest.h" static struct ll_li t[] = { +#if LDBL_MANT_DIG == 53 +#include "sanity/remquo.h" +#include "special/remquo.h" + +#elif LDBL_MANT_DIG == 64 #include "sanity/remquol.h" #include "special/remquol.h" + +#endif }; int main(void) @@ -33,7 +40,7 @@ int main(void) err++; } d = ulperr(y, p->y, p->dy); - if (!checkulp(d, p->r) || + if (!checkcr(y, p->y, p->r) || (!isnan(p->y) && (yi & 7) != (p->i & 7)) || (!isnan(p->y) && (yi < 0) != (p->i < 0))) { printf("%s:%d: %s remquol(%La,%La) want %La,%lld got %La,%d ulperr %.3f = %a + %a\n",