checks if two ranges overlap and return the smallest offset that would make them not overlap.
Range r1=Range(0,32); Range r2=Range(16,48); assert(r1.overlap(r2)==-16); assert(r2.overlap(r1)==16);
See Implementation
checks if two ranges overlap and return the smallest offset that would make them not overlap.