use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[libm] / src / math / erfl.c
index 86c2bad..c38d745 100644 (file)
 
 #include "libm.h"
 
 
 #include "libm.h"
 
-#if LD64
+#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
 long double erfl(long double x)
 {
        return erfl(x);
 }
 long double erfl(long double x)
 {
        return erfl(x);
 }
-#elif LD80
+#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
 static const long double
 tiny = 1e-4931L,
 half = 0.5L,
 static const long double
 tiny = 1e-4931L,
 half = 0.5L,