Function smartnoise_validator::components::snapping_mechanism::compute_precision[][src]

pub fn compute_precision(epsilon: f64) -> Result<u32>

Finds the necessary precision for the snapping mechanism 118 bits required for LN -epsilon.log2().ceil() + 2 bits required for non-zero epsilon

Arguments