ToyGine2 26.2.0
Game Engine for retro consoles
Loading...
Searching...
No Matches
fixed_std_extension.hpp File Reference

Standard library extensions for toy::math::fixed: numeric_limits and std::numbers mathematical constants. More...

This graph shows which files directly or indirectly include this file:

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>)
 $ \log_2 e $ (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>)
 $ \log_{10} e $ (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>)
 $ \sqrt{2} $ (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>)
 $ \sqrt{3} $ (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>)
 $ 1/\pi $ (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>)
 $ 1/\sqrt{\pi} $ (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>)
 $ \ln 2 $ (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>)
 $ \ln 10 $ (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).

Detailed Description

Standard library extensions for toy::math::fixed: numeric_limits and std::numbers mathematical constants.

Note
Included by math.hpp; do not include this file directly.