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

Add MathUtils method to check equality given some error bounds

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      It would be nice to have a utility method that tests for equality given some range of allowed error to account for floating point error.

        Attachments

        1. MathUtilsTest.java.patch
          0.8 kB
          Benjamin McCann
        2. MathUtils.java.patch
          0.8 kB
          Benjamin McCann
        3. compareTo.patch
          2 kB
          Benjamin McCann

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              luc Luc Maisonobe
              Reporter:
              bmccann Benjamin McCann

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment