Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/src add a couple more dummies (erf, erfc)
details: https://anonhg.NetBSD.org/src/rev/a10b28a4f5ca
branches: trunk
changeset: 333685:a10b28a4f5ca
user: christos <christos%NetBSD.org@localhost>
date: Thu Nov 13 21:43:27 2014 +0000
description:
add a couple more dummies (erf, erfc)
diffstat:
lib/libm/src/ldbl_dummy.c | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 3218d6908e31 -r a10b28a4f5ca lib/libm/src/ldbl_dummy.c
--- a/lib/libm/src/ldbl_dummy.c Thu Nov 13 17:46:49 2014 +0000
+++ b/lib/libm/src/ldbl_dummy.c Thu Nov 13 21:43:27 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ldbl_dummy.c,v 1.1 2013/11/12 17:36:14 joerg Exp $ */
+/* $NetBSD: ldbl_dummy.c,v 1.2 2014/11/13 21:43:27 christos Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: ldbl_dummy.c,v 1.1 2013/11/12 17:36:14 joerg Exp $");
+__RCSID("$NetBSD: ldbl_dummy.c,v 1.2 2014/11/13 21:43:27 christos Exp $");
#include "namespace.h"
#include <math.h>
@@ -58,6 +58,8 @@
__weak_alias(acoshl, _acoshl)
__weak_alias(asinhl, _asinhl)
__weak_alias(atanhl, _atanhl)
+__weak_alias(erfl, _erfl)
+__weak_alias(erfcl, _erfcl)
long double
atan2l(long double y, long double x)
@@ -173,3 +175,15 @@
{
return atanh(x);
}
+
+long double
+erfl(long double x)
+{
+ return erf(x);
+}
+
+long double
+erfcl(long double x)
+{
+ return erfc(x);
+}
Home |
Main Index |
Thread Index |
Old Index