X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Fcbrtl.c;h=d138b9f2f1cce4dc57ce0341dbf171eb6c831c8b;hp=ecbd7beca8db7a3c8c69f21a3f1697411fb5edf5;hb=59c2bd747bce9b1e35c893b2ace9bea57523a901;hpb=43091ad6c77c394b7fcff618eed187129b0457fe diff --git a/src/math/cbrtl.c b/src/math/cbrtl.c index ecbd7be..d138b9f 100644 --- a/src/math/cbrtl.c +++ b/src/math/cbrtl.c @@ -17,12 +17,12 @@ #include "libm.h" -#if LD64 +#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double cbrtl(long double x) { return cbrt(x); } -#elif LD80 || LD128 +#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 #define BIAS (LDBL_MAX_EXP - 1) static const unsigned B1 = 709958130; /* B1 = (127-127.0/3-0.03306235651)*2**23 */