Trait light_curve_dmdt::ErfFloat
source · pub trait ErfFloat: Float + ApproxInto<usize, RoundToZero> + Float {
const SQRT_2_ERFINV_UNITY_MINUS_EPS: Self;
const SQRT_2_MAX_X_FOR_ERF_EPS_1OVER1E3: Self;
const X_FOR_ERF_EPS_1OVER1E3: [Self; 64];
const INVERSED_DX_FOR_ERF_EPS_1OVER1E3: Self;
const Y_FOR_ERF_EPS_1OVER1E3: [Self; 64];
fn libm_erf(self) -> Self;
fn erf_eps_1over1e3(self) -> Self { ... }
}
Expand description
Float trait for ErrorFunction, implemented for f32 and f64 only