[−][src]Function twofloat::no_overlap
pub fn no_overlap(a: f64, b: f64) -> bool
Checks if two f64
values do not overlap, with the first value being the
more significant.
Examples:
assert!(no_overlap(1.0, -1e-200)); assert!(!no_overlap(1e-200, 1.0)); assert!(!no_overlap(1.0, 0.25));