Browse Source

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

Rich Felker 11 years ago
parent
commit
7efa12a04a
1 changed files with 4 additions and 0 deletions
  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,