diff options
Diffstat (limited to 'newlib/libm/common/s_nearbyint.c')
-rw-r--r-- | newlib/libm/common/s_nearbyint.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/newlib/libm/common/s_nearbyint.c b/newlib/libm/common/s_nearbyint.c deleted file mode 100644 index 25e629b65..000000000 --- a/newlib/libm/common/s_nearbyint.c +++ /dev/null @@ -1,27 +0,0 @@ -/* - * ==================================================== - * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. - * - * Developed at SunPro, a Sun Microsystems, Inc. business. - * Permission to use, copy, modify, and distribute this - * software is freely granted, provided that this notice - * is preserved. - * ==================================================== - */ - -#include <math.h> -#include "fdlibm.h" - -#ifndef _DOUBLE_IS_32BITS - -#ifdef __STDC__ - double nearbyint(double x) -#else - double nearbyint(x) - double x; -#endif -{ - return rint(x); -} - -#endif /* _DOUBLE_IS_32BITS */ |