use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[libm] / src / math / atanhl.c
index bc0d7ff..af0f856 100644 (file)
 
 #include "libm.h"
 
-#if LD64
+#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
 long double atanhl(long double x)
 {
        return atanh(x);
 }
-#elif LD80
+#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
 static const long double zero = 0.0, one = 1.0, huge = 1e4900L;
 
 long double atanhl(long double x)