X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Filogbl.c;h=099c81a4ebf4c11e07e8804e0f28efd8c80119ed;hp=03c8f21a1468b10fd2d008d70b8d4f18a2f618ac;hb=59c2bd747bce9b1e35c893b2ace9bea57523a901;hpb=476985a400cfde55990ae5ce309f8041cc30c887 diff --git a/src/math/ilogbl.c b/src/math/ilogbl.c index 03c8f21..099c81a 100644 --- a/src/math/ilogbl.c +++ b/src/math/ilogbl.c @@ -1,11 +1,11 @@ #include #include "libm.h" -#if LD64 +#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 int ilogbl(long double x) { return ilogb(x); } -#elif LD80 +#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384 int ilogbl(long double x) { union ldshape u = {x};