[−][src]Function geom::trim_f64
pub fn trim_f64(x: f64) -> f64
Reduce the precision of an f64. This helps ensure serialization is idempotent (everything is exacly the same before and after saving/loading). Ideally we'd use some kind of proper fixed-precision type instead of f64.