X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Fcoshl.c;fp=src%2Fmath%2Fcoshl.c;h=bcc9128aa163344988bf83d35eec9ad80d4ec560;hp=7564d8c279e3dc21a129831daf94e45aa71e4a56;hb=59c2bd747bce9b1e35c893b2ace9bea57523a901;hpb=43091ad6c77c394b7fcff618eed187129b0457fe diff --git a/src/math/coshl.c b/src/math/coshl.c index 7564d8c..bcc9128 100644 --- a/src/math/coshl.c +++ b/src/math/coshl.c @@ -32,12 +32,12 @@ #include "libm.h" -#if LD64 +#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double coshl(long double x) { return cosh(x); } -#elif LD80 +#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384 static const long double one = 1.0, half = 0.5, huge = 1.0e4900L; long double coshl(long double x)