On Thu, 12 Sep 2019 at 1:02 am, Chris Muller <asqueaker@gmail.com> wrote:
"An Interval reversed is generally an Interval, except when made of Float."
Should ReversedInterval be renamed to ReversedFloatInterval then?

+1

Interval was designed for Integers only.  IMO, it should be copied to a separate class, FloatInterval, to implement this capability.

Does anyone actually need Float support in Interval at this point? Or would it make sense to just disallow Floats in Interval for the time being?

Fabio


 

Nonetheless, this seems to fix #testIntervalOfFloatLast and
#testIntervalOfFloatReversed of IntervalTest. Do we want to integrate
this proposal or shall we mark these two tests as expected failures?

Fabio