Numbers' namespace.
More...
|
constexpr real | zero { 0.0 } |
| Real zero value.
|
|
constexpr real | one { 1.0 } |
| Real one value.
|
|
constexpr real | two { 2.0 } |
| Real two value.
|
|
constexpr real | three { 3.0 } |
| Real three value.
|
|
constexpr real | four { 4.0 } |
| Real four value.
|
|
constexpr real | five { 5.0 } |
| Real five value.
|
|
constexpr real | six { 6.0 } |
| Real six value.
|
|
constexpr real | seven { 7.0 } |
| Real seven value.
|
|
constexpr real | eight { 8.0 } |
| Real eight value.
|
|
constexpr real | nine { 9.0 } |
| Real nine value.
|
|
constexpr real | half { 0.5 } |
| Real one over two value.
|
|
constexpr real | one_third { 1.0 / 3.0 } |
| Real one third value.
|
|
constexpr real | two_thirds { 2.0 / 3.0 } |
| Real two thirds value.
|
|
constexpr real | four_thirds { 4.0 / 3.0 } |
| Real four thirds value.
|
|
constexpr real | one_quarter { 0.25 } |
| Real one quarter value.
|
|
constexpr real | three_quarters { 0.75 } |
| Real three quarters value.
|
|
constexpr real | pi { std::numbers::pi_v<real> } |
| Pi.
|
|
constexpr real | infty { std::numeric_limits<real>::infinity() } |
| Infinity.
|
|
constexpr real | eps = std::numeric_limits<real>::epsilon() |
| Machine epsilon.
|
|
constexpr real | near_eps = real{ 10.0 } * eps |
| Near machine epsilon (10 times the machine precision.
|
|
◆ eight
real qugar::numbers::eight { 8.0 } |
|
constexpr |
◆ eps
real qugar::numbers::eps = std::numeric_limits<real>::epsilon() |
|
constexpr |
◆ five
real qugar::numbers::five { 5.0 } |
|
constexpr |
◆ four
real qugar::numbers::four { 4.0 } |
|
constexpr |
◆ four_thirds
real qugar::numbers::four_thirds { 4.0 / 3.0 } |
|
constexpr |
◆ half
real qugar::numbers::half { 0.5 } |
|
constexpr |
◆ infty
real qugar::numbers::infty { std::numeric_limits<real>::infinity() } |
|
constexpr |
◆ near_eps
Near machine epsilon (10 times the machine precision.
◆ nine
real qugar::numbers::nine { 9.0 } |
|
constexpr |
◆ one
real qugar::numbers::one { 1.0 } |
|
constexpr |
◆ one_quarter
real qugar::numbers::one_quarter { 0.25 } |
|
constexpr |
◆ one_third
real qugar::numbers::one_third { 1.0 / 3.0 } |
|
constexpr |
◆ pi
real qugar::numbers::pi { std::numbers::pi_v<real> } |
|
constexpr |
◆ seven
real qugar::numbers::seven { 7.0 } |
|
constexpr |
◆ six
real qugar::numbers::six { 6.0 } |
|
constexpr |
◆ three
real qugar::numbers::three { 3.0 } |
|
constexpr |
◆ three_quarters
real qugar::numbers::three_quarters { 0.75 } |
|
constexpr |
Real three quarters value.
◆ two
real qugar::numbers::two { 2.0 } |
|
constexpr |
◆ two_thirds
real qugar::numbers::two_thirds { 2.0 / 3.0 } |
|
constexpr |
◆ zero
real qugar::numbers::zero { 0.0 } |
|
constexpr |