[][src]Crate math_interval

The goal of this module is to make checking whether a number is between two other numbers as easy as possible.



An Interval struct represents an interval. The main appeal is that it allows checking if a number is between the interval bounds more easily than manually writing the inequality comparisons yourself.