aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64/s_frexp.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-01-27 17:27:55 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-01-27 17:29:45 +0000
commit8db218828187d58575c509b6ed3da0cad9f73519 (patch)
tree193c89c1df3a62941623e77426285d802a2cfcd2 /sysdeps/ieee754/dbl-64/s_frexp.c
parent43455e09166350b1237d2168d1b008c9f47ebaf0 (diff)
downloadglibc-8db218828187d58575c509b6ed3da0cad9f73519.tar
glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.gz
glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.bz2
glibc-8db218828187d58575c509b6ed3da0cad9f73519.zip
Remove __STDC__ conditionals from libm.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/s_frexp.c')
-rw-r--r--sysdeps/ieee754/dbl-64/s_frexp.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_frexp.c b/sysdeps/ieee754/dbl-64/s_frexp.c
index 7dbddfde06..e927274178 100644
--- a/sysdeps/ieee754/dbl-64/s_frexp.c
+++ b/sysdeps/ieee754/dbl-64/s_frexp.c
@@ -27,19 +27,10 @@ static char rcsid[] = "$NetBSD: s_frexp.c,v 1.9 1995/05/10 20:47:24 jtc Exp $";
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
static const double
-#else
-static double
-#endif
two54 = 1.80143985094819840000e+16; /* 0x43500000, 0x00000000 */
-#ifdef __STDC__
- double __frexp(double x, int *eptr)
-#else
- double __frexp(x, eptr)
- double x; int *eptr;
-#endif
+double __frexp(double x, int *eptr)
{
int32_t hx, ix, lx;
EXTRACT_WORDS(hx,lx,x);