summaryrefslogtreecommitdiff
path: root/src/common/include/gudhi/math.h
blob: f367bac2cbc095222d28d7b16c2492c5339720bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*    This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
 *    See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
 *    Author(s):       Vincent Rouvreau
 *
 *    Copyright (C) 2020 Inria
 *
 *    Modification(s):
 *      - YYYY/MM Author: Description of the modification
 */

#ifndef MATH_H_
#define MATH_H_

#include <boost/math/constants/constants.hpp>

namespace Gudhi {

// In wait of C++20 std::numbers::pi with #include <numbers>
static constexpr double PI = boost::math::constants::pi<double>();

}  // namespace Gudhi

#endif   // MATH_H_