X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Fmodfl.c;h=2ca67b118bfd1a045a437014609d1d26278be84e;hp=d1a23600efbbf3875b3df6057d8027b9638084fc;hb=59c2bd747bce9b1e35c893b2ace9bea57523a901;hpb=43091ad6c77c394b7fcff618eed187129b0457fe diff --git a/src/math/modfl.c b/src/math/modfl.c index d1a2360..2ca67b1 100644 --- a/src/math/modfl.c +++ b/src/math/modfl.c @@ -37,12 +37,12 @@ #include "libm.h" -#if LD64 +#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double modfl(long double x, long double *iptr) { return modf(x, iptr); } -#elif LD80 || LD128 +#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 #if LDBL_MANL_SIZE > 32 #define MASK ((uint64_t)-1)