Function bitcoin_test::double_equals
source · pub fn double_equals(a: f64, b: f64, epsilon: f64) -> boolExpand description
| Equality between doubles is imprecise. | Comparison should be done with a small | threshold of tolerance, rather than | exact equality. |