![]() |
ToyGine2 26.2.0
Game Engine for retro consoles
|
Standard library extensions for toy::math::fixed: numeric_limits and std::numbers mathematical constants.
More...
Go to the source code of this file.
Classes | |
| class | std::numeric_limits< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > |
Namespaces | |
| namespace | std |
| STL namespace. | |
| namespace | std::numbers |
Variables | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::e_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(e_v<long double>) |
Variable template specializations of std::numbers for toy::math::fixed. | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::pi_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(pi_v<long double>) |
| The mathematical constant π (variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::log2e_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(log2e_v<long double>) |
(variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::log10e_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(log10e_v<long double>) |
(variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::sqrt2_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(sqrt2_v<long double>) |
(variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::sqrt3_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(sqrt3_v<long double>) |
(variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::inv_pi_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(inv_pi_v<long double>) |
(variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::inv_sqrtpi_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(inv_sqrtpi_v<long double>) |
(variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::ln2_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(ln2_v<long double>) |
(variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::ln10_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(ln10_v<long double>) |
(variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::egamma_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(egamma_v<long double>) |
| Euler–Mascheroni constant γ (variable template). | |
| template<typename Base, typename Intermediate, unsigned Fraction, bool Rounding> | |
| constexpr toy::math::fixed< Base, Intermediate, Fraction, Rounding > | std::numbers::phi_v< toy::math::fixed< Base, Intermediate, Fraction, Rounding > > = toy::math::fixed<Base, Intermediate, Fraction, Rounding>(phi_v<long double>) |
| Golden ratio Φ (variable template). | |
Standard library extensions for toy::math::fixed: numeric_limits and std::numbers mathematical constants.