summaryrefslogtreecommitdiff
path: root/sysdeps/stub/s_erfl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/s_erfl.c')
-rw-r--r--sysdeps/stub/s_erfl.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/stub/s_erfl.c b/sysdeps/stub/s_erfl.c
index e01bad206d..7ae25d6252 100644
--- a/sysdeps/stub/s_erfl.c
+++ b/sysdeps/stub/s_erfl.c
@@ -1,12 +1,25 @@
#include <math.h>
#include <stdio.h>
+#include <errno.h>
long double
__erfl (long double x)
{
fputs ("__erfl not implemented\n", stderr);
+ __set_errno (ENOSYS);
return 0.0;
}
weak_alias (__erfl, erfl)
stub_warning (erfl)
+
+long double
+__erfcl (long double x)
+{
+ fputs ("__erfcl not implemented\n", stderr);
+ __set_errno (ENOSYS);
+ return 0.0;
+}
+weak_alias (__erfcl, erfcl)
+
+stub_warning (erfcl)