Module Name: src Committed By: martin Date: Thu Mar 6 10:59:00 UTC 2014
Modified Files: src/lib/libm/noieee_src: n_tanh.c Log Message: Simplistic tanhf() for vax To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libm/noieee_src/n_tanh.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libm/noieee_src/n_tanh.c diff -u src/lib/libm/noieee_src/n_tanh.c:1.6 src/lib/libm/noieee_src/n_tanh.c:1.7 --- src/lib/libm/noieee_src/n_tanh.c:1.6 Thu Aug 7 16:44:52 2003 +++ src/lib/libm/noieee_src/n_tanh.c Thu Mar 6 10:59:00 2014 @@ -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 @@ tanh(double x) else return(sign); /* x is +- INF */ } + +float +tanhf(float x) +{ + return tanh(x); +}