Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: runtime/platform/floating_point_win.h

Issue 11411188: Fix floating point issues on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moved round() back to static inline function. Redid the changes lost from previous patch. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/platform/floating_point_win.h
diff --git a/runtime/bin/socket_linux.h b/runtime/platform/floating_point_win.h
similarity index 53%
copy from runtime/bin/socket_linux.h
copy to runtime/platform/floating_point_win.h
index 4ad0db24f0ead33124fe2729e93d234b994d8928..a198581ac0eeb3178fbb2d81138f99e569e9bd22 100644
--- a/runtime/bin/socket_linux.h
+++ b/runtime/platform/floating_point_win.h
@@ -2,11 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#ifndef BIN_SOCKET_LINUX_H_
-#define BIN_SOCKET_LINUX_H_
+#ifndef PLATFORM_FLOATING_POINT_WIN_H_
+#define PLATFORM_FLOATING_POINT_WIN_H_
-#include <arpa/inet.h>
-#include <netdb.h>
-#include <sys/socket.h>
+double atan2_ieee(double x, double y);
+double modulo(double x, double y);
-#endif // BIN_SOCKET_LINUX_H_
+#endif // PLATFORM_FLOATING_POINT_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698