diff options
Diffstat (limited to 'libm/s_nearbyint.c')
-rw-r--r-- | libm/s_nearbyint.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libm/s_nearbyint.c b/libm/s_nearbyint.c index 52ebbdba1..1c285051b 100644 --- a/libm/s_nearbyint.c +++ b/libm/s_nearbyint.c @@ -12,12 +12,7 @@ #include "math.h" #include "math_private.h" -#ifdef __STDC__ - double nearbyint(double x) -#else - double nearbyint(x) - double x; -#endif +double nearbyint(double x) { return rint(x); } |