mirror of
https://github.com/boostorg/math.git
synced 2026-02-26 04:42:22 +00:00
Merge pull request #566 from felixvd/patch-1
Add circle constant tau to constants.hpp
This commit is contained in:
@@ -327,6 +327,9 @@ namespace boost{ namespace math
|
||||
BOOST_DEFINE_MATH_CONSTANT(laplace_limit, 0.662743419349181580974742097109252907056233549115022417, "0.66274341934918158097474209710925290705623354911502241752039253499097185308651127724965480259895818168")
|
||||
#endif
|
||||
|
||||
template <typename T>
|
||||
inline constexpr T tau() { return two_pi<T>(); }
|
||||
|
||||
} // namespace constants
|
||||
} // namespace math
|
||||
} // namespace boost
|
||||
|
||||
Reference in New Issue
Block a user