X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Fcosl.c;h=2c650cdce4fb5e46da881a154652c1303c7cb921;hp=4d43629e6854cdeb724954e5a3de2c0adc9b8839;hb=59c2bd747bce9b1e35c893b2ace9bea57523a901;hpb=43091ad6c77c394b7fcff618eed187129b0457fe diff --git a/src/math/cosl.c b/src/math/cosl.c index 4d43629..2c650cd 100644 --- a/src/math/cosl.c +++ b/src/math/cosl.c @@ -31,11 +31,11 @@ #include "libm.h" -#if LD64 +#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double cosl(long double x) { return cos(x); } -#elif LD80 || LD128 +#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 #include "__rem_pio2l.h" long double cosl(long double x)