OLD | NEW |
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 PLATFORM_FLOATING_POINT_H_ | 5 #ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_ |
6 #define 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) { return fmod(x, y); } |
9 inline double atan2_ieee(double y, double x) { return atan2(y, x); } | 9 inline double atan2_ieee(double y, double x) { return atan2(y, x); } |
10 | 10 |
11 #endif // PLATFORM_FLOATING_POINT_H_ | 11 #endif // RUNTIME_PLATFORM_FLOATING_POINT_H_ |
OLD | NEW |