JuliaIntervals / IntervalArithmetic.jl

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

Warning seriously (using Logging.jl and with user settings) #637

Open Kolaru opened 6 months ago

Kolaru commented 6 months ago

With the emergence of the NG flag and similar considerations, it seems like implementing a proper logging system is becoming increasingly pressing.

Amongst the thing that we would want to optionally warn the user are:

Depending on their needs, users will probably be interested in enabling or disabling different warnings.

The logging will need to include the full stracktrace in most case, for example to quickly pinpoint where a computation lose its guarantee.

Logging.jl probably allow to do all that.

Looking at the list (please comment if you see more case that could do with a warning) it seems like most of the warnings would fall into the interval constructors, so it may not be that hard to do.