summaryrefslogtreecommitdiff
path: root/libc/sysdeps/ieee754/flt-32/k_tanf.c
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-02-08 16:44:31 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-02-08 16:44:31 +0000
commit78be84cd747c2e3965bf6c2fd5f702d6ff2f5525 (patch)
treec070a60ef7c5371bef8b7a559442a6920b394c8e /libc/sysdeps/ieee754/flt-32/k_tanf.c
parentde06548e980675e65a1e6d850bb8c3a3f7ec638d (diff)
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/flt-32/k_tanf.c')
-rw-r--r--libc/sysdeps/ieee754/flt-32/k_tanf.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/libc/sysdeps/ieee754/flt-32/k_tanf.c b/libc/sysdeps/ieee754/flt-32/k_tanf.c
index eb1a67093..8b34811e4 100644
--- a/libc/sysdeps/ieee754/flt-32/k_tanf.c
+++ b/libc/sysdeps/ieee754/flt-32/k_tanf.c
@@ -19,11 +19,7 @@ static char rcsid[] = "$NetBSD: k_tanf.c,v 1.4 1995/05/10 20:46:39 jtc Exp $";
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
static const float
-#else
-static float
-#endif
one = 1.0000000000e+00, /* 0x3f800000 */
pio4 = 7.8539812565e-01, /* 0x3f490fda */
pio4lo= 3.7748947079e-08, /* 0x33222168 */
@@ -43,12 +39,7 @@ T[] = {
2.5907305826e-05, /* 0x37d95384 */
};
-#ifdef __STDC__
- float __kernel_tanf(float x, float y, int iy)
-#else
- float __kernel_tanf(x, y, iy)
- float x,y; int iy;
-#endif
+float __kernel_tanf(float x, float y, int iy)
{
float z,r,v,w,s;
int32_t ix,hx;