Quellcode durchsuchen

add missing erfcl wrapper for archs where long double is plain double

Rich Felker vor 11 Jahren
Ursprung
Commit
7efa12a04a
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      src/math/erfl.c

+ 4 - 0
src/math/erfl.c

@@ -105,6 +105,10 @@ long double erfl(long double x)
 {
 	return erf(x);
 }
+long double erfcl(long double x)
+{
+	return erfc(x);
+}
 #elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384
 static const long double
 erx = 0.845062911510467529296875L,