2
0
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:
jzmaddock
2021-03-16 08:42:37 +00:00
committed by GitHub
3 changed files with 5 additions and 0 deletions

View File

@@ -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