Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-557

add a compareTo method to MathUtils that use a number of ulps for equality tolerance

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Labels:
      None

      Description

      There are equals methods with either double epsilon and integer maxUlps tolerance.
      There is only once compareTo method with a double epsilon tolerance.

      For symmetry, it would be nice to also have a compareTo method with an integer maxUlps tolerance.

        Attachments

          Activity

            People

            • Assignee:
              luc Luc Maisonobe
              Reporter:
              luc Luc Maisonobe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: