X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Fatanhl.c;h=87cd1cdb5f325f01cf12d19594efbcead93472b1;hb=9532ae1318201d66b235a618df16aac0b3386630;hp=f63d60b153faec6881f5ecc7007e5d2a418adbe1;hpb=f4d9bfb3a986f2c25ec023426b4fb222130af75f;p=musl diff --git a/src/math/atanhl.c b/src/math/atanhl.c index f63d60b1..87cd1cdb 100644 --- a/src/math/atanhl.c +++ b/src/math/atanhl.c @@ -5,7 +5,7 @@ long double atanhl(long double x) { return atanh(x); } -#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384 +#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384 /* atanh(x) = log((1+x)/(1-x))/2 = log1p(2x/(1-x))/2 ~= x + x^3/3 + o(x^5) */ long double atanhl(long double x) {