소스 검색

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

Rich Felker 11 년 전
부모
커밋
7efa12a04a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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,