| 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 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_ |
| OLD | NEW |