std::f32::consts - Rust (original) (raw)
Module consts
1.0.0 · Source
Expand description
Basic mathematical 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 (τ)
EGAMMAExperimental
The Euler-Mascheroni constant (γ)
FRAC_1_SQRT_3Experimental
1/sqrt(3)
FRAC_1_SQRT_2PIExperimental
1/sqrt(2π)
FRAC_1_SQRT_PIExperimental
1/sqrt(π)
PHIExperimental
The golden ratio (φ)
SQRT_3Experimental
sqrt(3)