33 #ifndef DART_MATH_CONSTANTS_HPP_
34 #define DART_MATH_CONSTANTS_HPP_
45 static constexpr T
pi()
47 return 3.141592653589793238462643383279502884197169399375105820974944592L;
63 static constexpr T
phi()
65 return 1.618033988749894848204586834365638117720309179805762862135448623L;
68 static constexpr T
inf()
70 return std::numeric_limits<T>::infinity();
Definition: BulletCollisionDetector.cpp:65
Definition: Constants.hpp:43
static constexpr T pi()
Definition: Constants.hpp:45
static constexpr T inf()
Definition: Constants.hpp:68
static constexpr T two_pi()
Definition: Constants.hpp:49
static constexpr T half_pi()
Definition: Constants.hpp:53
static constexpr T pi_sqr()
Definition: Constants.hpp:57
static constexpr T phi()
The golden ratio.
Definition: Constants.hpp:63