1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
use super::Q8E0; impl crate::MathConsts for Q8E0 { const E: Self = Self(0x_0000_2b7e); const FRAC_1_PI: Self = Self(0x_0000_0518); const FRAC_1_SQRT_2: Self = Self(0x_0000_0b50); const FRAC_2_PI: Self = Self(0x_0000_0a30); const FRAC_2_SQRT_PI: Self = Self(0x_0000_120e); const FRAC_PI_2: Self = Self(0x_0000_1922); const FRAC_PI_3: Self = Self(0x_0000_10c1); const FRAC_PI_4: Self = Self(0x_0000_0c91); const FRAC_PI_6: Self = Self(0x_0000_0861); const FRAC_PI_8: Self = Self(0x_0000_0648); const LN_10: Self = Self(0x_0000_24d7); const LN_2: Self = Self(0x_0000_0b17); const LOG10_E: Self = Self(0x_0000_06f3); const LOG2_E: Self = Self(0x_0000_1715); const PI: Self = Self(0x_0000_3244); const SQRT_2: Self = Self(0x_0000_16a1); const LOG2_10: Self = Self(0x_0000_3527); const LOG10_2: Self = Self(0x_0000_04d1); }