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 tanhf() for vax
details: https://anonhg.NetBSD.org/src/rev/ef6d3a4d587f
branches: trunk
changeset: 327379:ef6d3a4d587f
user: martin <martin%NetBSD.org@localhost>
date: Thu Mar 06 10:59:00 2014 +0000
description:
Simplistic tanhf() for vax
diffstat:
lib/libm/noieee_src/n_tanh.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 2d47e890a146 -r ef6d3a4d587f lib/libm/noieee_src/n_tanh.c
--- a/lib/libm/noieee_src/n_tanh.c Thu Mar 06 10:58:26 2014 +0000
+++ b/lib/libm/noieee_src/n_tanh.c Thu Mar 06 10:59:00 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: n_tanh.c,v 1.6 2003/08/07 16:44:52 agc Exp $ */
+/* $NetBSD: n_tanh.c,v 1.7 2014/03/06 10:59:00 martin Exp $ */
/*
* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -97,3 +97,9 @@
else
return(sign); /* x is +- INF */
}
+
+float
+tanhf(float x)
+{
+ return tanh(x);
+}
Home |
Main Index |
Thread Index |
Old Index