X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fcoshl.c;h=bcc9128aa163344988bf83d35eec9ad80d4ec560;hb=293384feec3bfdecc87d248aba4d00c2d696ac3a;hp=7564d8c279e3dc21a129831daf94e45aa71e4a56;hpb=fc04675a09587031d5daebcb877b73976890b71d;p=libm 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)