diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-27 15:06:37 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-27 15:06:37 -0500 |
commit | cdd9b365f92e0f30d64094a8400dec2a7e494110 (patch) | |
tree | 78f21a4596953ac23f5c02eb1fb693e9412993d2 /sysdeps/ieee754/flt-32/s_cosf.c | |
parent | 6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4 (diff) | |
parent | 8db218828187d58575c509b6ed3da0cad9f73519 (diff) | |
download | glibc-cdd9b365f92e0f30d64094a8400dec2a7e494110.tar glibc-cdd9b365f92e0f30d64094a8400dec2a7e494110.tar.gz glibc-cdd9b365f92e0f30d64094a8400dec2a7e494110.tar.bz2 glibc-cdd9b365f92e0f30d64094a8400dec2a7e494110.zip |
Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
ChangeLog
Diffstat (limited to 'sysdeps/ieee754/flt-32/s_cosf.c')
-rw-r--r-- | sysdeps/ieee754/flt-32/s_cosf.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/ieee754/flt-32/s_cosf.c b/sysdeps/ieee754/flt-32/s_cosf.c index 4f9f239f6f..dfe576c7be 100644 --- a/sysdeps/ieee754/flt-32/s_cosf.c +++ b/sysdeps/ieee754/flt-32/s_cosf.c @@ -21,18 +21,9 @@ static char rcsid[] = "$NetBSD: s_cosf.c,v 1.4 1995/05/10 20:47:03 jtc Exp $"; #include "math.h" #include "math_private.h" -#ifdef __STDC__ static const float one=1.0; -#else -static float one=1.0; -#endif -#ifdef __STDC__ - float __cosf(float x) -#else - float __cosf(x) - float x; -#endif +float __cosf(float x) { float y[2],z=0.0; int32_t n,ix; |