X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fcoshl.c;h=06a56fe3be85d346cd98de913c091e900046a938;hb=9e01be6e49b9ae433072207f420ef33c8189eb78;hp=080e5eb0425c0f8bd1ddcf1b0539c2ac9ba081d1;hpb=aa0c4a204e28cfc90a9ee955691a6cbe014c9fde;p=musl diff --git a/src/math/coshl.c b/src/math/coshl.c index 080e5eb0..06a56fe3 100644 --- a/src/math/coshl.c +++ b/src/math/coshl.c @@ -38,4 +38,10 @@ long double coshl(long double x) t = expl(0.5*x); return 0.5*t*t; } +#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384 +// TODO: broken implementation to make things compile +long double coshl(long double x) +{ + return cosh(x); +} #endif