Sfoglia il codice sorgente

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

Rich Felker 11 anni fa
parent
commit
7efa12a04a
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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,