summaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authornsz <nsz@port70.net>2012-03-19 18:06:06 +0100
committernsz <nsz@port70.net>2012-03-19 18:06:06 +0100
commit9a810cb6851e9707b86ae3e5af5f265da3d6e6a1 (patch)
treee77e37f4e6fa1280706c99cd585271588b7d6baa /src/math
parentb04b588791e6afbe7e91684546b446b136fd518c (diff)
downloadmusl-9a810cb6851e9707b86ae3e5af5f265da3d6e6a1.tar.gz
fix erfl wrapper for long double==double case
Diffstat (limited to 'src/math')
-rw-r--r--src/math/erfl.c2
1 files changed, 1 insertions, 1 deletions
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