Move pi_to_the to the test file
This commit is contained in:
1 parent
3042135eb9
commit
a8d6c890a5
2 files changed
+3
-6
No files matched your search
@@ -259,12 +259,6 @@ struct pi_base {
|
||||
static constexpr long double value = std::numbers::pi_v<long double>;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief A simple way to create a Magnitude representing a rational power of pi.
|
||||
*/
|
||||
template<ratio Power>
|
||||
constexpr auto pi_to_the() { return magnitude<base_power<pi_base>{Power}>{}; }
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Magnitude equality implementation.
|
||||
|
||||
|
||||
Reference in new issue
Block a user