Merge pull request #375 from chiphogg/chiphogg/docs

Update prefix documentation
This commit is contained in:
Mateusz Pusz authored and GitHub committed 2022-08-23 10:28:30 +02:00
commit d4f1e93d6c
6 files changed
+157 -27

No files matched your search

+5
View File
@@ -401,6 +401,11 @@ struct pi_base {
static constexpr long double value = std::numbers::pi_v<long double>;
};
/**
* @brief A convenient Magnitude constant for pi, which we can manipulate like a regular number.
*/
inline constexpr Magnitude auto pi = magnitude<base_power<pi_base>{}>{};
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Magnitude equality implementation.