summaryrefslogtreecommitdiff
path: root/libm/k_tan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/k_tan.c')
-rw-r--r--libm/k_tan.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/libm/k_tan.c b/libm/k_tan.c
index 95ec1510e..720b51f6d 100644
--- a/libm/k_tan.c
+++ b/libm/k_tan.c
@@ -1,4 +1,3 @@
-/* @(#)k_tan.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -10,10 +9,6 @@
* ====================================================
*/
-#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$NetBSD: k_tan.c,v 1.8 1995/05/10 20:46:37 jtc Exp $";
-#endif
-
/* __kernel_tan( x, y, k )
* kernel tan function on [-pi/4, pi/4], pi/4 ~ 0.7854
* Input x is assumed to be bounded by ~pi/4 in magnitude.
@@ -51,12 +46,7 @@ static char rcsid[] = "$NetBSD: k_tan.c,v 1.8 1995/05/10 20:46:37 jtc Exp $";
#include "math.h"
#include "math_private.h"
-
-#ifdef __STDC__
static const double
-#else
-static double
-#endif
one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
pio4 = 7.85398163397448278999e-01, /* 0x3FE921FB, 0x54442D18 */
pio4lo= 3.06161699786838301793e-17, /* 0x3C81A626, 0x33145C07 */
@@ -76,12 +66,7 @@ T[] = {
2.59073051863633712884e-05, /* 0x3EFB2A70, 0x74BF7AD4 */
};
-#ifdef __STDC__
- double attribute_hidden __kernel_tan(double x, double y, int iy)
-#else
- double attribute_hidden __kernel_tan(x, y, iy)
- double x,y; int iy;
-#endif
+double attribute_hidden __kernel_tan(double x, double y, int iy)
{
double z,r,v,w,s;
int32_t ix,hx;