Skip to content

Avoid changing rounding modes by flipping the sign of the upper bound #7

Open
@sheaf

Description

@sheaf

If we internally represent the interval [a,b] as a pair (a, -b) in which the supremum has been negated, then all interval arithmetic computations can be done using only downwards rounding (avoiding the need to switch rounding modes).

(Perhaps you are already using this trick in this library, in which case I apologise.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions