diff options
Diffstat (limited to 'winsup/mingw/mingwex/math/round.c')
-rw-r--r-- | winsup/mingw/mingwex/math/round.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/winsup/mingw/mingwex/math/round.c b/winsup/mingw/mingwex/math/round.c deleted file mode 100644 index d2d4cab5e..000000000 --- a/winsup/mingw/mingwex/math/round.c +++ /dev/null @@ -1,8 +0,0 @@ -#include <math.h> - -double -round (double x) -{ - /* Add +/- 0.5 then then round towards zero. */ - return trunc ( x + (x >= 0.0 ? 0.5 : -0.5)); -} |