Module godot::prelude::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 (τ)
- EGAMMAExperimentalThe Euler-Mascheroni constant (γ)
- FRAC_1_SQRT_2PIExperimental1/sqrt(2π)
- FRAC_1_SQRT_3Experimental1/sqrt(3)
- FRAC_1_SQRT_PIExperimental1/sqrt(π)
- PHIExperimentalThe golden ratio (φ)
- SQRT_3Experimentalsqrt(3)