aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.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/ldbl-128ibm/s_scalbnl.c
parent43455e09166350b1237d2168d1b008c9f47ebaf0 (diff)
downloadglibc-8db218828187d58575c509b6ed3da0cad9f73519.zip
glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.gz
glibc-8db218828187d58575c509b6ed3da0cad9f73519.tar.bz2
Remove __STDC__ conditionals from libm.
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c b/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c
index 50bd8cb..a52cd42 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c
@@ -29,28 +29,15 @@ static char rcsid[] = "$NetBSD: $";
#include "math_private.h"
#include <math_ldbl_opt.h>
-#ifdef __STDC__
static const long double
-#else
-static long double
-#endif
twolm54 = 5.55111512312578270212e-17, /* 0x3C90000000000000, 0 */
huge = 1.0E+300L,
tiny = 1.0E-300L;
-#ifdef __STDC__
static const double
-#else
-static double
-#endif
two54 = 1.80143985094819840000e+16, /* 0x4350000000000000 */
twom54 = 5.55111512312578270212e-17; /* 0x3C90000000000000 */
-#ifdef __STDC__
- long double __scalbnl (long double x, int n)
-#else
- long double __scalbnl (x,n)
- long double x; int n;
-#endif
+long double __scalbnl (long double x, int n)
{
int64_t k,l,hx,lx;
union { int64_t i; double d; } u;