Hermes
hermes::Constants Struct Reference

Numeric constants. More...

Static Public Attributes

static constexpr real_t pi = 3.14159265358979323846
 
static constexpr real_t two_pi = 6.28318530718
 
static constexpr real_t inv_pi = 0.31830988618379067154
 
static constexpr real_t inv_two_pi = 0.15915494309189533577
 
static constexpr real_t inv_four_pi = 0.07957747154594766788
 
static constexpr real_t pi_over_four = 0.78539816339
 
static constexpr real_t pi_over_two = 1.57079632679
 
static constexpr real_t machine_epsilon = std::numeric_limits<real_t>::epsilon() * .5
 
static constexpr real_t real_infinity = std::numeric_limits<real_t>::max()
 
static constexpr f64 f64_one_minus_epsilon = 0x1.fffffffffffffp-1
 
static constexpr f32 f32_one_minus_epsilon = 0x1.fffffep-1
 
static constexpr real_t one_minus_epsilon = f32_one_minus_epsilon
 

Detailed Description

Numeric constants.


The documentation for this struct was generated from the following file: