Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/noieee_src Simplistic log1pf() for vax
details: https://anonhg.NetBSD.org/src/rev/78c234e2af91
branches: trunk
changeset: 794118:78c234e2af91
user: martin <martin%NetBSD.org@localhost>
date: Thu Mar 06 10:58:26 2014 +0000
description:
Simplistic log1pf() for vax
diffstat:
lib/libm/noieee_src/n_log1p.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 655e524b81b5 -r 78c234e2af91 lib/libm/noieee_src/n_log1p.c
--- a/lib/libm/noieee_src/n_log1p.c Thu Mar 06 10:57:44 2014 +0000
+++ b/lib/libm/noieee_src/n_log1p.c Thu Mar 06 10:58:26 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: n_log1p.c,v 1.7 2008/04/29 15:10:02 uwe Exp $ */
+/* $NetBSD: n_log1p.c,v 1.8 2014/03/06 10:58:26 martin Exp $ */
/*
* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -168,3 +168,9 @@
/* log(+INF) is INF */
else return(x);
}
+
+float
+log1pf(float x)
+{
+ return log1p(x);
+}
Home |
Main Index |
Thread Index |
Old Index