Current implementation based on float comparison, which is fine for genomic coordinates but not good with e.g. time or more precise intervals. Will have to make some experimentation with possible solutions and choose the most stable/robust one.
Good starting points:
We could start with the simplest approach of using an epsilon (dynamically adjusted maybe) and compare it with the absolute difference.
Current implementation based on float comparison, which is fine for genomic coordinates but not good with e.g. time or more precise intervals. Will have to make some experimentation with possible solutions and choose the most stable/robust one.
Good starting points:
We could start with the simplest approach of using an epsilon (dynamically adjusted maybe) and compare it with the absolute difference.