diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-01-27 17:27:55 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-01-27 17:29:45 +0000 |
commit | 8db218828187d58575c509b6ed3da0cad9f73519 (patch) | |
tree | 193c89c1df3a62941623e77426285d802a2cfcd2 /sysdeps/ieee754/flt-32/k_sinf.c | |
parent | 43455e09166350b1237d2168d1b008c9f47ebaf0 (diff) | |
download | glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.gz glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.xz glibc-8db218828187d58575c509b6ed3da0cad9f73519.zip |
Remove __STDC__ conditionals from libm.
Diffstat (limited to 'sysdeps/ieee754/flt-32/k_sinf.c')
-rw-r--r-- | sysdeps/ieee754/flt-32/k_sinf.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/ieee754/flt-32/k_sinf.c b/sysdeps/ieee754/flt-32/k_sinf.c index 4fec15e830..572363d755 100644 --- a/sysdeps/ieee754/flt-32/k_sinf.c +++ b/sysdeps/ieee754/flt-32/k_sinf.c @@ -20,11 +20,7 @@ static char rcsid[] = "$NetBSD: k_sinf.c,v 1.4 1995/05/10 20:46:33 jtc Exp $"; #include "math.h" #include "math_private.h" -#ifdef __STDC__ static const float -#else -static float -#endif half = 5.0000000000e-01,/* 0x3f000000 */ S1 = -1.6666667163e-01, /* 0xbe2aaaab */ S2 = 8.3333337680e-03, /* 0x3c088889 */ @@ -33,12 +29,7 @@ S4 = 2.7557314297e-06, /* 0x3638ef1b */ S5 = -2.5050759689e-08, /* 0xb2d72f34 */ S6 = 1.5896910177e-10; /* 0x2f2ec9d3 */ -#ifdef __STDC__ - float __kernel_sinf(float x, float y, int iy) -#else - float __kernel_sinf(x, y, iy) - float x,y; int iy; /* iy=0 if y is zero */ -#endif +float __kernel_sinf(float x, float y, int iy) { float z,r,v; int32_t ix; |