Module consts

Source
🔬This is a nightly-only experimental API. (f16)
Expand description

Basic mathematical constants.

Constants§

EExperimental
Euler’s number (e)
EGAMMAExperimental
The Euler-Mascheroni constant (γ)
FRAC_1_PIExperimental
1/π
FRAC_1_SQRT_2Experimental
1/sqrt(2)
FRAC_1_SQRT_3Experimental
1/sqrt(3)
FRAC_1_SQRT_2PIExperimental
1/sqrt(2π)
FRAC_1_SQRT_PIExperimental
1/sqrt(π)
FRAC_2_PIExperimental
2/π
FRAC_2_SQRT_PIExperimental
2/sqrt(π)
FRAC_PI_2Experimental
π/2
FRAC_PI_3Experimental
π/3
FRAC_PI_4Experimental
π/4
FRAC_PI_6Experimental
π/6
FRAC_PI_8Experimental
π/8
LN_2Experimental
ln(2)
LN_10Experimental
ln(10)
LOG2_10Experimental
log2(10)
LOG2_EExperimental
log2(e)
LOG10_2Experimental
log10(2)
LOG10_EExperimental
log10(e)
PHIExperimental
The golden ratio (φ)
PIExperimental
Archimedes’ constant (π)
SQRT_2Experimental
sqrt(2)
SQRT_3Experimental
sqrt(3)
TAUExperimental
The full circle constant (τ)