1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
//! Mathematical constants

/// The square root of π
pub const SQRT_PI: f64 = 1.772_453_850_905_515_9;
/// 0.5 ln(2π)
pub const HALF_LN_2PI: f64 = 0.918_938_533_204_672_7;
/// 0.5 ln(2πe)
pub const HALF_LN_2PI_E: f64 = 1.418_938_533_204_672_7;
/// 0.5 ln(π)
pub const HALF_LN_PI: f64 = 0.572_364_942_924_700_1;
/// ln(π)
pub const LN_PI: f64 = 1.144_729_885_849_400_2;
/// ln(2π)
pub const LN_2PI: f64 = 1.837_877_066_409_345_3;
/// Euler-Mascheroni Constant
pub const EULER_MASCERONI: f64 = 0.577_215_664_901_532_9;
/// ln(ln(2))
pub const LN_LN_2: f64 = -0.366_512_920_581_664_3;
/// ln(2 * pi * e)
pub const LN_2PI_E: f64 = 2.837_877_066_409_345_3;