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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_ 5 #ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_
6 #define RUNTIME_PLATFORM_FLOATING_POINT_H_ 6 #define RUNTIME_PLATFORM_FLOATING_POINT_H_
7 7
8 inline double fmod_ieee(double x, double y) { return fmod(x, y); } 8 inline double fmod_ieee(double x, double y) {
9 inline double atan2_ieee(double y, double x) { return atan2(y, x); } 9 return fmod(x, y);
10 }
11 inline double atan2_ieee(double y, double x) {
12 return atan2(y, x);
13 }
10 14
11 #endif // RUNTIME_PLATFORM_FLOATING_POINT_H_ 15 #endif // RUNTIME_PLATFORM_FLOATING_POINT_H_
OLDNEW
« 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