util.rs: Make DBL_EPSILON private; we'll remove it soon

parent 9b0dc7a7
......@@ -14,7 +14,7 @@ pub fn clone_fallback_name(fallback: &Option<String>) -> Option<String> {
}
}
pub const DBL_EPSILON: f64 = 1e-10;
const DBL_EPSILON: f64 = 1e-10;
pub fn double_equals(a: f64, b: f64) -> bool {
(a - b).abs() < DBL_EPSILON
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment