Index: runtime/platform/c99_support_win.h |
diff --git a/runtime/platform/c99_support_win.h b/runtime/platform/c99_support_win.h |
index 1d09eff6a7b7843931c4d5b026f24bd918f873d7..5603466b8fb7bff95065189dad089bbe4824ffe6 100644 |
--- a/runtime/platform/c99_support_win.h |
+++ b/runtime/platform/c99_support_win.h |
@@ -47,12 +47,4 @@ static inline double trunc(double x) { |
} |
} |
-static inline double round(double x) { |
Mads Ager (google)
2012/11/27 08:43:23
This is a missing c99 method. Could you move this
aam-me
2012/11/28 00:45:34
Done.
I moved it to c99_support_win.cc, though, so
|
- if (x < 0) { |
- return ceil(x - 0.5); |
- } else { |
- return floor(x + 0.5); |
- } |
-} |
- |
#endif // PLATFORM_C99_SUPPORT_WIN_H_ |