MAX_LOSS

Constant MAX_LOSS 

Source
pub(super) const MAX_LOSS: f64 = 1e-3;
Expand description

Largest rounding error bound of a 1D spherical sum relative to max(|S|, 1), and largest loss of any sum to the cancellation of its Ewald parts relative to the scale of a component, before it fails.

Calibrated: the bounds exceed the errors by a median factor of 17 to 87, and fall short of them by at most a factor of 4.5.