On Thu, Aug 25, 2011 at 7:02 PM, <[email protected]> wrote: > > + if (!(ranges[i].start > ranges[i-1].end + 1 && > + ranges[i].end < ranges[i-1].start - 1)) > > and the if condition looks similar. the first test is fine, but why is ranges[i].end < ranges[i-1].start a good thing? since we have the ! in front, we are testing for the normal ascending case.
Greg
