Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
runtime
platform
floating_point.h
Go to the documentation of this 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
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
10
inline
double
fmod_ieee
(
double
x
,
double
y
) {
11
return
fmod(
x
,
y
);
12
}
13
inline
double
atan2_ieee
(
double
y
,
double
x
) {
14
return
atan2(
y
,
x
);
15
}
16
17
#endif
// RUNTIME_PLATFORM_FLOATING_POINT_H_
math.h
y
double y
Definition:
mouse-input-test.cc:83
x
double x
Definition:
mouse-input-test.cc:82
fmod_ieee
double fmod_ieee(double x, double y)
Definition:
floating_point.h:10
atan2_ieee
double atan2_ieee(double y, double x)
Definition:
floating_point.h:13
Generated on Sun Jun 23 2024 21:55:05 for Flutter Engine by
1.9.4