Skip to content

Interval arithmetic: incorrect results for min and max #258

Description

@fredrik-johansson
Consider the following operation:

a = iv.mpf([0,1])
b = 0.5

min(a,b)

Mpmath returns the range [0,1] though there is no posible value of a that can give a result greater than 0.5

The correct response is [0,0.5]

Original issue for #258: http://code.google.com/p/mpmath/issues/detail?id=218
Original author: https://code.google.com/u/117464931809270512527/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnew feature requests (or implementation)imported

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions