use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[libm] / src / math / tgammal.c
index 1bd6a33..e590550 100644 (file)
 
 #include "libm.h"
 
-#if LD64
+#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
 long double tgammal(long double x)
 {
        return tgamma(x);
 }
-#elif LD80
+#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
 /*
 tgamma(x+2) = tgamma(x+2) P(x)/Q(x)
 0 <= x <= 1