Expand description
High-precision mathematical constants, in f64 and f32 widths.
All constants are defined as pub const f64 with f32 variants available
under the f32 submodule (e.g., constants::f32::PI).
Modules§
- f32
f32variants of all constants.
Constants§
- APERY
- CATALAN
- CUBE_
ROOT_ 2 - CUBE_
ROOT_ 3 - DEG_
TO_ GRAD - DEG_
TO_ RAD - E
- EULER_
GAMMA - E_INV
- E_SQ
- E_SQRT
- FEIGENBAUM
- FEIGENBAU
M2 - GRAD_
TO_ DEG - GRAD_
TO_ RAD - HALF_PI
- INF
- INV_PI
- INV_
SQRT_ PI - LN_2
- LN_2PI
- LN_10
- LN_PI
- LOG2_10
- LOG2_E
- LOG10_2
- LOG10_E
- LOG_2
- LOG_10
- NAN
- PHI
- PI
- PI_CUBE
- PI_SQ
- QUARTER_
PI - RAD_
TO_ DEG - SILVER_
RATIO - SQRT_2
- SQRT_3
- SQRT_5
- SQRT_6
- SQRT_7
- SQRT_
2PI - SQRT_
2_ INV - SQRT_
3_ INV - SQRT_
LN4 - SQRT_PI
- TAU
- THIRD_
PI - TWO_
SQRT_ PI