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

2.0 equal to -2.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4
    • Labels:
      None
    • Environment:

      Linux, Java 5

      Description

      The following test fails:

          @Test
          public void testMath1127() {
              Assert.assertFalse(Precision.equals(2.0, -2.0, 1));
          }
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: