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

Unified Diff: runtime/platform/floating_point.h

Issue 2470663006: Add .clang-format and run clang-format on runtime/platform. (Closed)
Patch Set: Remove default override for short functions Created 4 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
« no previous file with comments | « runtime/platform/c99_support_win.h ('k') | runtime/platform/floating_point_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/floating_point.h
diff --git a/runtime/platform/floating_point.h b/runtime/platform/floating_point.h
index 24d2f9c17bf1339e084d223ba50ef16ef3408094..0d29a707d01a3bea9a17532d7b122bb3ed9227ff 100644
--- a/runtime/platform/floating_point.h
+++ b/runtime/platform/floating_point.h
@@ -5,7 +5,11 @@
#ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_
#define RUNTIME_PLATFORM_FLOATING_POINT_H_
-inline double fmod_ieee(double x, double y) { return fmod(x, y); }
-inline double atan2_ieee(double y, double x) { return atan2(y, x); }
+inline double fmod_ieee(double x, double y) {
+ return fmod(x, y);
+}
+inline double atan2_ieee(double y, double x) {
+ return atan2(y, x);
+}
#endif // RUNTIME_PLATFORM_FLOATING_POINT_H_
« no previous file with comments | « runtime/platform/c99_support_win.h ('k') | runtime/platform/floating_point_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698