You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not clear to me whether inari does outward-directed rounding of computations, i.e., that every computed interval is guaranteed to include the hull of the theoretical computation. You may want to clarify that in the documentation (unless I have missed it).
I see in the source code that the internal representation of [a,b] is [[-a, b]], and that [a,b]+[c,d] is computed as [[(-a)+(- c); b + d]]: this accomplishes outward-rouding if addition rounds up. Is that so ?
The text was updated successfully, but these errors were encountered:
It's not clear to me whether inari does outward-directed rounding of computations, i.e., that every computed interval is guaranteed to include the hull of the theoretical computation.
It does. It is implicit in the fact that it implements the standard IEEE Std 1788.1-2017. Actually, IMHO, a library should not call itself an interval arithmetic library if it fails to do that (although some nonetheless do ☹).
As I don't know the details of IEEE standard, I asked chatGPT whether the standard asks for outward-directed rounding, and it answered "no". Of course, I should never rely on chatGPT, and I'm glad I asked you.
It's not clear to me whether inari does outward-directed rounding of computations, i.e., that every computed interval is guaranteed to include the hull of the theoretical computation. You may want to clarify that in the documentation (unless I have missed it).
I see in the source code that the internal representation of [a,b] is [[-a, b]], and that [a,b]+[c,d] is computed as [[(-a)+(- c); b + d]]: this accomplishes outward-rouding if addition rounds up. Is that so ?
The text was updated successfully, but these errors were encountered: