Module real_consts
Expand description
Re-export of std::f32::consts
or std::f64::consts
, depending on precision config.
Constants§
- Euler’s number (e)
- 1/π
- 1/sqrt(2)
- 2/π
- 2/sqrt(π)
- π/2
- π/3
- π/4
- π/6
- π/8
- ln(2)
- ln(10)
- log2(10)
- log2(e)
- log10(2)
- log10(e)
- Archimedes’ constant (π)
- sqrt(2)
- The full circle constant (τ)
- EGAMMA
Experimental The Euler-Mascheroni constant (γ) - FRAC_
1_ SQRT_ 3 Experimental 1/sqrt(3) - FRAC_
1_ SQRT_ 2PI Experimental 1/sqrt(2π) - FRAC_
1_ SQRT_ PI Experimental 1/sqrt(π) - PHI
Experimental The golden ratio (φ) - SQRT_3
Experimental sqrt(3)