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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0
    • 3.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: