Trait softposit::MathConsts
source · pub trait MathConsts {
Show 18 associated constants and 0 method
const E: Self;
const FRAC_1_PI: Self;
const FRAC_1_SQRT_2: Self;
const FRAC_2_PI: Self;
const FRAC_2_SQRT_PI: Self;
const FRAC_PI_2: Self;
const FRAC_PI_3: Self;
const FRAC_PI_4: Self;
const FRAC_PI_6: Self;
const FRAC_PI_8: Self;
const LN_10: Self;
const LN_2: Self;
const LOG10_E: Self;
const LOG2_E: Self;
const PI: Self;
const SQRT_2: Self;
const LOG2_10: Self;
const LOG10_2: Self;
}
Required Associated Constants§
sourceconst FRAC_1_SQRT_2: Self
const FRAC_1_SQRT_2: Self
1/sqrt(2) = 0.707106781186547524400844362104849039
sourceconst FRAC_2_SQRT_PI: Self
const FRAC_2_SQRT_PI: Self
2/sqrt(π) = 1.12837916709551257389615890312154517