From 9a810cb6851e9707b86ae3e5af5f265da3d6e6a1 Mon Sep 17 00:00:00 2001 From: nsz Date: Mon, 19 Mar 2012 18:06:06 +0100 Subject: [PATCH] fix erfl wrapper for long double==double case --- src/math/erfl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/erfl.c b/src/math/erfl.c index c38d7450..a80c2ce1 100644 --- a/src/math/erfl.c +++ b/src/math/erfl.c @@ -103,7 +103,7 @@ #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long double erfl(long double x) { - return erfl(x); + return erf(x); } #elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384 static const long double -- 2.25.1