fennec
Loading...
Searching...
No Matches
constants.h File Reference

Constants More...

Go to the source code of this file.

Detailed Description

Author
Medusa Slockbower

Functions

template<typename genType >
constexpr genType fennec::zero ()
 
template<typename genType >
constexpr genType fennec::one ()
 
template<typename genType >
constexpr genType fennec::one_half ()
 
template<typename genType >
constexpr genType fennec::three_over_two ()
 
template<typename genType >
constexpr genType fennec::one_third ()
 
template<typename genType >
constexpr genType fennec::two_thirds ()
 
template<typename genType >
constexpr genType fennec::sqrt_two ()
 
template<typename genType >
constexpr genType fennec::sqrt_three ()
 
template<typename genType >
constexpr genType fennec::sqrt_five ()
 
template<typename genType >
constexpr genType fennec::sqrt_seven ()
 
template<typename genType >
constexpr genType fennec::sqrt_ten ()
 
template<typename genType >
constexpr genType fennec::one_over_sqrt_two ()
 
template<typename genType >
constexpr genType fennec::one_over_sqrt_three ()
 
template<typename genType >
constexpr genType fennec::one_over_sqrt_five ()
 
template<typename genType >
constexpr genType fennec::cbrt_two ()
 
template<typename genType >
constexpr genType fennec::qdrt_two ()
 
template<typename genType >
constexpr genType fennec::two_raised_sqrt_two ()
 
template<typename genType >
constexpr genType fennec::pi ()
 
template<typename genType >
constexpr genType fennec::tau ()
 
template<typename genType >
constexpr genType fennec::two_pi ()
 
template<typename genType >
constexpr genType fennec::three_pi ()
 
template<typename genType >
constexpr genType fennec::four_pi ()
 
template<typename genType >
constexpr genType fennec::half_pi ()
 
template<typename genType >
constexpr genType fennec::three_halves_pi ()
 
template<typename genType >
constexpr genType fennec::third_pi ()
 
template<typename genType >
constexpr genType fennec::two_thirds_pi ()
 
template<typename genType >
constexpr genType fennec::four_thirds_pi ()
 
template<typename genType >
constexpr genType fennec::five_thirds_pi ()
 
template<typename genType >
constexpr genType fennec::quarter_pi ()
 
template<typename genType >
constexpr genType fennec::three_quarters_pi ()
 
template<typename genType >
constexpr genType fennec::five_quarters_pi ()
 
template<typename genType >
constexpr genType fennec::seven_quarters_pi ()
 
template<typename genType >
constexpr genType fennec::fifth_pi ()
 
template<typename genType >
constexpr genType fennec::two_fifths_pi ()
 
template<typename genType >
constexpr genType fennec::three_fifths_pi ()
 
template<typename genType >
constexpr genType fennec::four_fifths_pi ()
 
template<typename genType >
constexpr genType fennec::six_fifths_pi ()
 
template<typename genType >
constexpr genType fennec::seven_fifths_pi ()
 
template<typename genType >
constexpr genType fennec::eight_fifths_pi ()
 
template<typename genType >
constexpr genType fennec::nine_fifths_pi ()
 
template<typename genType >
constexpr genType fennec::sixth_pi ()
 
template<typename genType >
constexpr genType fennec::five_sixths_pi ()
 
template<typename genType >
constexpr genType fennec::seven_sixths_pi ()
 
template<typename genType >
constexpr genType fennec::eleven_sixths_pi ()
 
template<typename genType >
constexpr genType fennec::one_over_pi ()
 
template<typename genType >
constexpr genType fennec::two_over_pi ()
 
template<typename genType >
constexpr genType fennec::pi_sq ()
 
template<typename genType >
constexpr genType fennec::pi_cb ()
 
template<typename genType >
constexpr genType fennec::sqrt_pi ()
 
template<typename genType >
constexpr genType fennec::one_over_sqrt_pi ()
 
template<typename genType >
constexpr genType fennec::sqrt_two_pi ()
 
template<typename genType >
constexpr genType fennec::one_over_sqrt_two_pi ()
 
template<typename genType >
constexpr genType fennec::cbrt_pi ()
 
template<typename genType >
constexpr genType fennec::e ()
 
template<typename genType >
constexpr genType fennec::half_e ()
 
template<typename genType >
constexpr genType fennec::two_e ()
 
template<typename genType >
constexpr genType fennec::one_over_e ()
 
template<typename genType >
constexpr genType fennec::e_sq ()
 
template<typename genType >
constexpr genType fennec::e_cb ()
 
template<typename genType >
constexpr genType fennec::sqrt_e ()
 
template<typename genType >
constexpr genType fennec::one_over_sqrt_e ()
 
template<typename genType >
constexpr genType fennec::e_raised_two ()
 
template<typename genType >
constexpr genType fennec::e_raised_e ()
 
template<typename genType >
constexpr genType fennec::e_raised_neg_e ()
 
template<typename genType >
constexpr genType fennec::e_raised_pi ()
 
template<typename genType >
constexpr genType fennec::e_raised_neg_pi ()
 
template<typename genType >
constexpr genType fennec::e_raised_half_pi ()
 
template<typename genType >
constexpr genType fennec::e_raised_neg_half_pi ()
 
template<typename genType >
constexpr genType fennec::e_raised_gamma ()
 
template<typename genType >
constexpr genType fennec::e_raised_neg_gamma ()
 
template<typename genType >
constexpr genType fennec::G ()
 
template<typename genType >
constexpr genType fennec::one_over_G ()
 
template<typename genType >
constexpr genType fennec::G_over_pi ()
 
template<typename genType >
constexpr genType fennec::pi_over_G ()
 
template<typename genType >
constexpr genType fennec::y ()
 
template<typename genType >
constexpr genType fennec::one_over_y ()
 
template<typename genType >
constexpr genType fennec::log_two ()
 
template<typename genType >
constexpr genType fennec::log_three ()
 
template<typename genType >
constexpr genType fennec::log_five ()
 
template<typename genType >
constexpr genType fennec::log_seven ()
 
template<typename genType >
constexpr genType fennec::log_ten ()
 
template<typename genType >
constexpr genType fennec::one_over_log_ten ()
 
template<typename genType >
constexpr genType fennec::log_two_over_log_three ()
 
template<typename genType >
constexpr genType fennec::log_log_two ()
 
template<typename genType >
constexpr genType fennec::log_pi ()
 
template<typename genType >
constexpr genType fennec::log_sqrt_two ()
 
template<typename genType >
constexpr genType fennec::log_gamma ()
 
template<typename genType >
constexpr genType fennec::log_phi ()
 

Function Documentation

◆ zero()

template<typename genType >
constexpr genType fennec::zero ( )
constexpr
Returns
The value of \(0\)

◆ one()

template<typename genType >
constexpr genType fennec::one ( )
constexpr
Returns
The value of \(1\)

◆ one_half()

template<typename genType >
constexpr genType fennec::one_half ( )
constexpr
Returns
The value of \(\frac{1}{2}\)

◆ three_over_two()

template<typename genType >
constexpr genType fennec::three_over_two ( )
constexpr
Returns
The value of \(\frac{3}{2}\)

◆ one_third()

template<typename genType >
constexpr genType fennec::one_third ( )
constexpr
Returns
The value of \(\frac{1}{3}\) with the highest precision for \(genType\)

◆ two_thirds()

template<typename genType >
constexpr genType fennec::two_thirds ( )
constexpr
Returns
The value of \(\frac{2}{3}\) with the highest precision for \(genType\)

◆ sqrt_two()

template<typename genType >
constexpr genType fennec::sqrt_two ( )
constexpr
Returns
The value of \(\sqrt{2}\) with the highest precision for \(genType\)

◆ sqrt_three()

template<typename genType >
constexpr genType fennec::sqrt_three ( )
constexpr
Returns
The value of \(\sqrt{3}\) with the highest precision for \(genType\)

◆ sqrt_five()

template<typename genType >
constexpr genType fennec::sqrt_five ( )
constexpr
Returns
The value of \(\sqrt{5}\) with the highest precision for \(genType\)

◆ sqrt_seven()

template<typename genType >
constexpr genType fennec::sqrt_seven ( )
constexpr
Returns
The value of \(\sqrt{7}\) with the highest precision for \(genType\)

◆ sqrt_ten()

template<typename genType >
constexpr genType fennec::sqrt_ten ( )
constexpr
Returns
The value of \(\sqrt{10}\) with the highest precision for \(genType\)

◆ one_over_sqrt_two()

template<typename genType >
constexpr genType fennec::one_over_sqrt_two ( )
constexpr
Returns
The value of \(\frac{1}{\sqrt{2}}\) with the highest precision for \(genType\)

◆ one_over_sqrt_three()

template<typename genType >
constexpr genType fennec::one_over_sqrt_three ( )
constexpr
Returns
The value of \(\frac{1}{\sqrt{3}}\) with the highest precision for \(genType\)

◆ one_over_sqrt_five()

template<typename genType >
constexpr genType fennec::one_over_sqrt_five ( )
constexpr
Returns
The value of \(\frac{1}{\sqrt{5}}\) with the highest precision for \(genType\)

◆ cbrt_two()

template<typename genType >
constexpr genType fennec::cbrt_two ( )
constexpr
Returns
The value of \(\sqrt[3]{2}\) with the highest precision for \(genType\)

◆ qdrt_two()

template<typename genType >
constexpr genType fennec::qdrt_two ( )
constexpr
Returns
The value of \(\sqrt[4]{2}\) with the highest precision for \(genType\)

◆ two_raised_sqrt_two()

template<typename genType >
constexpr genType fennec::two_raised_sqrt_two ( )
constexpr
Returns
The value of \({2}^{\sqrt{2}}\) with the highest precision for \(genType\)

◆ pi()

template<typename genType >
constexpr genType fennec::pi ( )
constexpr
Returns
The value of \(\pi\) with the highest precision for \(genType\)

◆ tau()

template<typename genType >
constexpr genType fennec::tau ( )
constexpr
Returns
The value of \(\tau\) with the highest precision for \(genType\)

◆ two_pi()

template<typename genType >
constexpr genType fennec::two_pi ( )
constexpr
Returns
The value of \(2\pi\) with the highest precision for \(genType\)

◆ three_pi()

template<typename genType >
constexpr genType fennec::three_pi ( )
constexpr
Returns
The value of \(3\pi\) with the highest precision for \(genType\)

◆ four_pi()

template<typename genType >
constexpr genType fennec::four_pi ( )
constexpr
Returns
The value of \(4\pi\) with the highest precision for \(genType\)

◆ half_pi()

template<typename genType >
constexpr genType fennec::half_pi ( )
constexpr
Returns
The value of \(\frac{\pi}{2}\) with the highest precision for \(genType\)

◆ three_halves_pi()

template<typename genType >
constexpr genType fennec::three_halves_pi ( )
constexpr
Returns
The value of \(\frac{3\pi}{2}\) with the highest precision for \(genType\)

◆ third_pi()

template<typename genType >
constexpr genType fennec::third_pi ( )
constexpr
Returns
The value of \(\frac{\pi}{3}\) with the highest precision for \(genType\)

◆ two_thirds_pi()

template<typename genType >
constexpr genType fennec::two_thirds_pi ( )
constexpr
Returns
The value of \(\frac{2\pi}{3}\) with the highest precision for \(genType\)

◆ four_thirds_pi()

template<typename genType >
constexpr genType fennec::four_thirds_pi ( )
constexpr
Returns
The value of \(\frac{4\pi}{3}\) with the highest precision for \(genType\)

◆ five_thirds_pi()

template<typename genType >
constexpr genType fennec::five_thirds_pi ( )
constexpr
Returns
The value of \(\frac{5\pi}{3}\) with the highest precision for \(genType\)

◆ quarter_pi()

template<typename genType >
constexpr genType fennec::quarter_pi ( )
constexpr
Returns
The value of \(\frac{\pi}{4}\) with the highest precision for \(genType\)

◆ three_quarters_pi()

template<typename genType >
constexpr genType fennec::three_quarters_pi ( )
constexpr
Returns
The value of \(\frac{3\pi}{4}\) with the highest precision for \(genType\)

◆ five_quarters_pi()

template<typename genType >
constexpr genType fennec::five_quarters_pi ( )
constexpr
Returns
The value of \(\frac{5\pi}{4}\) with the highest precision for \(genType\)

◆ seven_quarters_pi()

template<typename genType >
constexpr genType fennec::seven_quarters_pi ( )
constexpr
Returns
The value of \(\frac{7\pi}{4}\) with the highest precision for \(genType\)

◆ fifth_pi()

template<typename genType >
constexpr genType fennec::fifth_pi ( )
constexpr
Returns
The value of \(\frac{\pi}{5}\) with the highest precision for \(genType\)

◆ two_fifths_pi()

template<typename genType >
constexpr genType fennec::two_fifths_pi ( )
constexpr
Returns
The value of \(\frac{2\pi}{5}\) with the highest precision for \(genType\)

◆ three_fifths_pi()

template<typename genType >
constexpr genType fennec::three_fifths_pi ( )
constexpr
Returns
The value of \(\frac{3\pi}{5}\) with the highest precision for \(genType\)

◆ four_fifths_pi()

template<typename genType >
constexpr genType fennec::four_fifths_pi ( )
constexpr
Returns
The value of \(\frac{4\pi}{5}\) with the highest precision for \(genType\)

◆ six_fifths_pi()

template<typename genType >
constexpr genType fennec::six_fifths_pi ( )
constexpr
Returns
The value of \(\frac{6\pi}{5}\) with the highest precision for \(genType\)

◆ seven_fifths_pi()

template<typename genType >
constexpr genType fennec::seven_fifths_pi ( )
constexpr
Returns
The value of \(\frac{7\pi}{5}\) with the highest precision for \(genType\)

◆ eight_fifths_pi()

template<typename genType >
constexpr genType fennec::eight_fifths_pi ( )
constexpr
Returns
The value of \(\frac{8\pi}{5}\) with the highest precision for \(genType\)

◆ nine_fifths_pi()

template<typename genType >
constexpr genType fennec::nine_fifths_pi ( )
constexpr
Returns
The value of \(\frac{9\pi}{5}\) with the highest precision for \(genType\)

◆ sixth_pi()

template<typename genType >
constexpr genType fennec::sixth_pi ( )
constexpr
Returns
The value of \(\frac{\pi}{6}\) with the highest precision for \(genType\)

◆ five_sixths_pi()

template<typename genType >
constexpr genType fennec::five_sixths_pi ( )
constexpr
Returns
The value of \(\frac{5\pi}{6}\) with the highest precision for \(genType\)

◆ seven_sixths_pi()

template<typename genType >
constexpr genType fennec::seven_sixths_pi ( )
constexpr
Returns
The value of \(\frac{7\pi}{6}\) with the highest precision for \(genType\)

◆ eleven_sixths_pi()

template<typename genType >
constexpr genType fennec::eleven_sixths_pi ( )
constexpr
Returns
The value of \(\frac{11\pi}{6}\) with the highest precision for \(genType\)

◆ one_over_pi()

template<typename genType >
constexpr genType fennec::one_over_pi ( )
constexpr
Returns
The value of \(\frac{1}{\pi}\) with the highest precision for \(genType\)

◆ two_over_pi()

template<typename genType >
constexpr genType fennec::two_over_pi ( )
constexpr
Returns
The value of \(\frac{2}{\pi}\) with the highest precision for \(genType\)

◆ pi_sq()

template<typename genType >
constexpr genType fennec::pi_sq ( )
constexpr
Returns
The value of \({\pi}^{2}\) with the highest precision for \(genType\)

◆ pi_cb()

template<typename genType >
constexpr genType fennec::pi_cb ( )
constexpr
Returns
The value of \({\pi}^{2}\) with the highest precision for \(genType\)

◆ sqrt_pi()

template<typename genType >
constexpr genType fennec::sqrt_pi ( )
constexpr
Returns
The value of \(\sqrt{\pi}\) with the highest precision for \(genType\)

◆ one_over_sqrt_pi()

template<typename genType >
constexpr genType fennec::one_over_sqrt_pi ( )
constexpr
Returns
The value of \(\frac{1}{\sqrt{\pi}}\) with the highest precision for \(genType\)

◆ sqrt_two_pi()

template<typename genType >
constexpr genType fennec::sqrt_two_pi ( )
constexpr
Returns
The value of \(\sqrt{2\pi}\) with the highest precision for \(genType\)

◆ one_over_sqrt_two_pi()

template<typename genType >
constexpr genType fennec::one_over_sqrt_two_pi ( )
constexpr
Returns
The value of \(\frac{1}{\sqrt{2\pi}}\) with the highest precision for \(genType\)

◆ cbrt_pi()

template<typename genType >
constexpr genType fennec::cbrt_pi ( )
constexpr
Returns
The value of \(\sqrt[3]{\pi}\) with the highest precision for \(genType\)

◆ e()

template<typename genType >
constexpr genType fennec::e ( )
constexpr
Returns
The value of \(e\) with the highest precision for \(genType\)

◆ half_e()

template<typename genType >
constexpr genType fennec::half_e ( )
constexpr
Returns
The value of \(\frac{e}{2}\) with the highest precision for \(genType\)

◆ two_e()

template<typename genType >
constexpr genType fennec::two_e ( )
constexpr
Returns
The value of \(2e\) with the highest precision for \(genType\)

◆ one_over_e()

template<typename genType >
constexpr genType fennec::one_over_e ( )
constexpr
Returns
The value of \(\frac{1}{e}\) with the highest precision for \(genType\)

◆ e_sq()

template<typename genType >
constexpr genType fennec::e_sq ( )
constexpr
Returns
The value of \(e^2\) with the highest precision for \(genType\)

◆ e_cb()

template<typename genType >
constexpr genType fennec::e_cb ( )
constexpr
Returns
The value of \(e^3\) with the highest precision for \(genType\)

◆ sqrt_e()

template<typename genType >
constexpr genType fennec::sqrt_e ( )
constexpr
Returns
The value of \(\sqrt{e}\) with the highest precision for \(genType\)

◆ one_over_sqrt_e()

template<typename genType >
constexpr genType fennec::one_over_sqrt_e ( )
constexpr
Returns
The value of \(\frac{1}{\sqrt{e}}\) with the highest precision for \(genType\)

◆ e_raised_two()

template<typename genType >
constexpr genType fennec::e_raised_two ( )
constexpr
Returns
The value of \(e^e\) with the highest precision for \(genType\)

◆ e_raised_e()

template<typename genType >
constexpr genType fennec::e_raised_e ( )
constexpr
Returns
The value of \(e^e\) with the highest precision for \(genType\)

◆ e_raised_neg_e()

template<typename genType >
constexpr genType fennec::e_raised_neg_e ( )
constexpr
Returns
The value of \(e^-e\) with the highest precision for \(genType\)

◆ e_raised_pi()

template<typename genType >
constexpr genType fennec::e_raised_pi ( )
constexpr
Returns
The value of \({e}^{ \pi}\) with the highest precision for \(genType\)

◆ e_raised_neg_pi()

template<typename genType >
constexpr genType fennec::e_raised_neg_pi ( )
constexpr
Returns
The value of \({e}^{-\pi}\) with the highest precision for \(genType\)

◆ e_raised_half_pi()

template<typename genType >
constexpr genType fennec::e_raised_half_pi ( )
constexpr
Returns
The value of \({e}^{\frac{ \pi}{2}}\) with the highest precision for \(genType\)

◆ e_raised_neg_half_pi()

template<typename genType >
constexpr genType fennec::e_raised_neg_half_pi ( )
constexpr
Returns
The value of \({e}^{\frac{-\pi}{2}}\) with the highest precision for \(genType\)

◆ e_raised_gamma()

template<typename genType >
constexpr genType fennec::e_raised_gamma ( )
constexpr
Returns
The value of \({e}^{ \gamma}\) with the highest precision for \(genType\)

◆ e_raised_neg_gamma()

template<typename genType >
constexpr genType fennec::e_raised_neg_gamma ( )
constexpr
Returns
The value of \({e}^{-\gamma}\) with the highest precision for \(genType\)

◆ G()

template<typename genType >
constexpr genType fennec::G ( )
constexpr
Returns
The value of \(G\) with the highest precision for \(genType\)

◆ one_over_G()

template<typename genType >
constexpr genType fennec::one_over_G ( )
constexpr
Returns
The value of \(\frac{1}{G}\) with the highest precision for \(genType\)

◆ G_over_pi()

template<typename genType >
constexpr genType fennec::G_over_pi ( )
constexpr
Returns
The value of \(\frac{G}{\pi}\) with the highest precision for \(genType\)

◆ pi_over_G()

template<typename genType >
constexpr genType fennec::pi_over_G ( )
constexpr
Returns
The value of \(\frac{\pi}{G}\) with the highest precision for \(genType\)

◆ y()

template<typename genType >
constexpr genType fennec::y ( )
constexpr
Returns
The value of \(\gamma\) with the highest precision for \(genType\)

◆ one_over_y()

template<typename genType >
constexpr genType fennec::one_over_y ( )
constexpr
Returns
The value of \(\frac{1}{\gamma}\) with the highest precision for \(genType\)

◆ log_two()

template<typename genType >
constexpr genType fennec::log_two ( )
constexpr
Returns
The value of \(\log{2}\) with the highest precision for \(genType\)

◆ log_three()

template<typename genType >
constexpr genType fennec::log_three ( )
constexpr
Returns
The value of \(\log{3}\) with the highest precision for \(genType\)

◆ log_five()

template<typename genType >
constexpr genType fennec::log_five ( )
constexpr
Returns
The value of \(\log{5}\) with the highest precision for \(genType\)

◆ log_seven()

template<typename genType >
constexpr genType fennec::log_seven ( )
constexpr
Returns
The value of \(\log{7}\) with the highest precision for \(genType\)

◆ log_ten()

template<typename genType >
constexpr genType fennec::log_ten ( )
constexpr
Returns
The value of \(\log{10}\) with the highest precision for \(genType\)

◆ one_over_log_ten()

template<typename genType >
constexpr genType fennec::one_over_log_ten ( )
constexpr
Returns
The value of \(\frac{1}{\log{10}}\) with the highest precision for \(genType\)

◆ log_two_over_log_three()

template<typename genType >
constexpr genType fennec::log_two_over_log_three ( )
constexpr
Returns
The value of \(\frac{\log{2}}{\log{3}}\) with the highest precision for \(genType\)

◆ log_log_two()

template<typename genType >
constexpr genType fennec::log_log_two ( )
constexpr
Returns
The value of \(\log{\log{2}}\) with the highest precision for \(genType\)

◆ log_pi()

template<typename genType >
constexpr genType fennec::log_pi ( )
constexpr
Returns
The value of \(\log{\pi}\) with the highest precision for \(genType\)

◆ log_sqrt_two()

template<typename genType >
constexpr genType fennec::log_sqrt_two ( )
constexpr
Returns
The value of \(\log{\sqrt{2}}\) with the highest precision for \(genType\)

◆ log_gamma()

template<typename genType >
constexpr genType fennec::log_gamma ( )
constexpr
Returns
The value of \(\log{\gamma}\) with the highest precision for \(genType\)

◆ log_phi()

template<typename genType >
constexpr genType fennec::log_phi ( )
constexpr
Returns
The value of \(\log{\phi}\) with the highest precision for \(genType\)