diff options
author | Chris Robinson <[email protected]> | 2023-05-04 18:42:27 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-04 18:42:27 -0700 |
commit | c14ca5f3aa6da354440a60656062f6bc68d6fca6 (patch) | |
tree | 46151a136338288ecc6e19b09e5a6f7a7b4ab017 /common/alnumbers.h | |
parent | 95b0c59adef778b30dfbe68af70b92d55801fd89 (diff) |
Remove custom stuff for standard
Diffstat (limited to 'common/alnumbers.h')
-rw-r--r-- | common/alnumbers.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/common/alnumbers.h b/common/alnumbers.h index 37a55410..800b1f2a 100644 --- a/common/alnumbers.h +++ b/common/alnumbers.h @@ -13,21 +13,21 @@ namespace detail_ { } // detail_ template<typename T> -static constexpr auto pi_v = detail_::as_fp<T>(3.141592653589793238462643383279502884L); +constexpr auto pi_v = detail_::as_fp<T>(3.141592653589793238462643383279502884L); template<typename T> -static constexpr auto inv_pi_v = detail_::as_fp<T>(0.318309886183790671537767526745028724L); +constexpr auto inv_pi_v = detail_::as_fp<T>(0.318309886183790671537767526745028724L); template<typename T> -static constexpr auto sqrt2_v = detail_::as_fp<T>(1.414213562373095048801688724209698079L); +constexpr auto sqrt2_v = detail_::as_fp<T>(1.414213562373095048801688724209698079L); template<typename T> -static constexpr auto sqrt3_v = detail_::as_fp<T>(1.732050807568877293527446341505872367L); +constexpr auto sqrt3_v = detail_::as_fp<T>(1.732050807568877293527446341505872367L); -static constexpr auto pi = pi_v<double>; -static constexpr auto inv_pi = inv_pi_v<double>; -static constexpr auto sqrt2 = sqrt2_v<double>; -static constexpr auto sqrt3 = sqrt3_v<double>; +constexpr auto pi = pi_v<double>; +constexpr auto inv_pi = inv_pi_v<double>; +constexpr auto sqrt2 = sqrt2_v<double>; +constexpr auto sqrt3 = sqrt3_v<double>; } // namespace numbers |