JuliaIntervals / IntervalArithmetic.jl

Library for validated numerics using interval arithmetic
https://juliaintervals.github.io/IntervalArithmetic.jl/
Other
290 stars 70 forks source link

Don't display `NG` when `decorations = false` #639

Closed dpsanders closed 2 months ago

dpsanders commented 2 months ago
julia> setdisplay(decorations = false);

julia> x = 3..Inf
[3.0, ∞)

julia> f(y) = y^2 - 2

julia> f(x)
[7.0, ∞)_NG
OlivierHnt commented 2 months ago

This is the intended behaviour. But it may be worth having an additional option to setdisplay to remove the "NG" flag.