aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64/s_floor.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/dbl-64/s_floor.c')
-rw-r--r--sysdeps/ieee754/dbl-64/s_floor.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_floor.c b/sysdeps/ieee754/dbl-64/s_floor.c
index 8b2038e69d..139e2f5cb5 100644
--- a/sysdeps/ieee754/dbl-64/s_floor.c
+++ b/sysdeps/ieee754/dbl-64/s_floor.c
@@ -22,18 +22,9 @@
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
static const double huge = 1.0e300;
-#else
-static double huge = 1.0e300;
-#endif
-#ifdef __STDC__
- double __floor(double x)
-#else
- double __floor(x)
- double x;
-#endif
+double __floor(double x)
{
int32_t i0,i1,j0;
u_int32_t i,j;