Skip to main content

recompute

Function recompute 

Source
pub fn recompute(share: f64, count: u64, total: u64) -> Option<String>
Expand description

Recomputes a share from its counts; None when it matches the stated share at the stated decimals.