X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Ftanhl.c;h=e62be59b26308f916fc73e93a310e6c8048d59e5;hp=445793f7e0aca2809713b98baf6985ce525ae5d5;hb=59c2bd747bce9b1e35c893b2ace9bea57523a901;hpb=43091ad6c77c394b7fcff618eed187129b0457fe diff --git a/src/math/tanhl.c b/src/math/tanhl.c index 445793f..e62be59 100644 --- a/src/math/tanhl.c +++ b/src/math/tanhl.c @@ -35,12 +35,12 @@ #include "libm.h" -#if LD64 +#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double tanhl(long double x) { return tanh(x); } -#elif LD80 +#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384 static const long double one=1.0, two=2.0, tiny = 1.0e-4900L; long double tanhl(long double x)