Closed dpsanders closed 6 years ago
The problem is
julia> (-∞..∞) ⪽(-∞..∞)
true
The problem is
julia> (-∞..∞) ⪽(-∞..∞) true
It looks like ⪽
has been specifically implemented (in IntervalArithmetic) to have this behavior. Do you know why ? If there is no specific reason, it could be changed there.
I think this is a requirement of the interval standard, but I would need to check that.
Yes, it seems to be; one of the ITF1788 tests tests exactly this.
In that case, in Newton itself we'll simply have to exclude that case.
What happens if, instead of testing X=(-∞..∞)
, you test the interval X = interval( -prevfloat(∞), prevfloat(∞))
?
Fixed by #55.
This seems to be because
N(X) = X