Flutter Engine
The Flutter Engine
third_party
accessibility
base
numerics
math_constants.h
Go to the documentation of this file.
1
// Copyright 2017 The Chromium Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef BASE_NUMERICS_MATH_CONSTANTS_H_
6
#define BASE_NUMERICS_MATH_CONSTANTS_H_
7
8
namespace
base
{
9
10
constexpr
double
kPiDouble
= 3.14159265358979323846;
11
constexpr
float
kPiFloat
= 3.14159265358979323846f;
12
13
// The mean acceleration due to gravity on Earth in m/s^2.
14
constexpr
double
kMeanGravityDouble
= 9.80665;
15
constexpr
float
kMeanGravityFloat
= 9.80665f;
16
17
}
// namespace base
18
19
#endif
// BASE_NUMERICS_MATH_CONSTANTS_H_
base
Definition:
ax_tree_id_registry.h:17
base::kMeanGravityFloat
constexpr float kMeanGravityFloat
Definition:
math_constants.h:15
base::kMeanGravityDouble
constexpr double kMeanGravityDouble
Definition:
math_constants.h:14
base::kPiFloat
constexpr float kPiFloat
Definition:
math_constants.h:11
base::kPiDouble
constexpr double kPiDouble
Definition:
math_constants.h:10
Generated on Sun Jun 23 2024 21:55:21 for Flutter Engine by
1.9.4