summaryrefslogtreecommitdiff
path: root/libm/e_acos.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-22 15:58:54 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-22 15:58:54 +0000
commit38b7304e932d52c8a4b250f35a1c8bcf6805d8ca (patch)
treedb12341ab2303620d70b9de8a5d52093a7262f3a /libm/e_acos.c
parentef9bd8dd3a1a6922839db782157e3f40f3411f32 (diff)
libm/*: mass removal of:
1. static char rcsid[] = "$NetBSD: ..." 2. /* @(#)s_scalbn.c 5.1 93/09/24 */ 3. #ifdef __STDC__ No code changes (verified with objdump)
Diffstat (limited to 'libm/e_acos.c')
-rw-r--r--libm/e_acos.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/libm/e_acos.c b/libm/e_acos.c
index 265619325..5333b8e22 100644
--- a/libm/e_acos.c
+++ b/libm/e_acos.c
@@ -1,4 +1,3 @@
-/* @(#)e_acos.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: e_acos.c,v 1.9 1995/05/12 04:57:13 jtc Exp $";
-#endif
-
/* __ieee754_acos(x)
* Method :
* acos(x) = pi/2 - asin(x)
@@ -41,11 +36,7 @@ static char rcsid[] = "$NetBSD: e_acos.c,v 1.9 1995/05/12 04:57:13 jtc Exp $";
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
static const double
-#else
-static double
-#endif
one= 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */
pio2_hi = 1.57079632679489655800e+00, /* 0x3FF921FB, 0x54442D18 */
@@ -61,12 +52,7 @@ qS2 = 2.02094576023350569471e+00, /* 0x40002AE5, 0x9C598AC8 */
qS3 = -6.88283971605453293030e-01, /* 0xBFE6066C, 0x1B8D0159 */
qS4 = 7.70381505559019352791e-02; /* 0x3FB3B8C5, 0xB12E9282 */
-#ifdef __STDC__
- double attribute_hidden __ieee754_acos(double x)
-#else
- double attribute_hidden __ieee754_acos(x)
- double x;
-#endif
+double attribute_hidden __ieee754_acos(double x)
{
double z,p,q,r,w,s,c,df;
int32_t hx,ix;