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
3// BSD-style license that can be found in the LICENSE file.
4
5#ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_
6#define RUNTIME_PLATFORM_FLOATING_POINT_H_
7
8#include <math.h>
9
10inline double fmod_ieee(double x, double y) {
11 return fmod(x, y);
12}
13inline double atan2_ieee(double y, double x) {
14 return atan2(y, x);
15}
16
17#endif // RUNTIME_PLATFORM_FLOATING_POINT_H_
18