diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-02-08 16:44:31 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-02-08 16:44:31 +0000 |
commit | 78be84cd747c2e3965bf6c2fd5f702d6ff2f5525 (patch) | |
tree | c070a60ef7c5371bef8b7a559442a6920b394c8e /libc/sysdeps/ieee754/dbl-64/s_tanh.c | |
parent | de06548e980675e65a1e6d850bb8c3a3f7ec638d (diff) | |
download | eglibc2-78be84cd747c2e3965bf6c2fd5f702d6ff2f5525.tar.gz |
Merge changes between r16568 and r17050 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@17051 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/ieee754/dbl-64/s_tanh.c')
-rw-r--r-- | libc/sysdeps/ieee754/dbl-64/s_tanh.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libc/sysdeps/ieee754/dbl-64/s_tanh.c b/libc/sysdeps/ieee754/dbl-64/s_tanh.c index 944f96386..63ef4b88a 100644 --- a/libc/sysdeps/ieee754/dbl-64/s_tanh.c +++ b/libc/sysdeps/ieee754/dbl-64/s_tanh.c @@ -41,18 +41,9 @@ static char rcsid[] = "$NetBSD: s_tanh.c,v 1.7 1995/05/10 20:48:22 jtc Exp $"; #include "math.h" #include "math_private.h" -#ifdef __STDC__ static const double one=1.0, two=2.0, tiny = 1.0e-300; -#else -static double one=1.0, two=2.0, tiny = 1.0e-300; -#endif -#ifdef __STDC__ - double __tanh(double x) -#else - double __tanh(x) - double x; -#endif +double __tanh(double x) { double t,z; int32_t jx,ix,lx; |