From 8db218828187d58575c509b6ed3da0cad9f73519 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 27 Jan 2012 17:27:55 +0000 Subject: Remove __STDC__ conditionals from libm. --- sysdeps/ieee754/dbl-64/s_nearbyint.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'sysdeps/ieee754/dbl-64/s_nearbyint.c') diff --git a/sysdeps/ieee754/dbl-64/s_nearbyint.c b/sysdeps/ieee754/dbl-64/s_nearbyint.c index 71e14cf..184fa70 100644 --- a/sysdeps/ieee754/dbl-64/s_nearbyint.c +++ b/sysdeps/ieee754/dbl-64/s_nearbyint.c @@ -28,22 +28,13 @@ static char rcsid[] = "$NetBSD: s_rint.c,v 1.8 1995/05/10 20:48:04 jtc Exp $"; #include "math.h" #include "math_private.h" -#ifdef __STDC__ static const double -#else -static double -#endif TWO52[2]={ 4.50359962737049600000e+15, /* 0x43300000, 0x00000000 */ -4.50359962737049600000e+15, /* 0xC3300000, 0x00000000 */ }; -#ifdef __STDC__ - double __nearbyint(double x) -#else - double __nearbyint(x) - double x; -#endif +double __nearbyint(double x) { fenv_t env; int32_t i0,j0,sx; -- cgit v1.1