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

NaN in "equals" methods

    XMLWordPrintableJSON

    Details

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

      Description

      In "MathUtils", some "equals" methods will return true if both argument are NaN.
      Unless I'm mistaken, this contradicts the IEEE standard.

      If nobody objects, I'm going to make the changes.

        Attachments

          Activity

            People

            • Assignee:
              erans Gilles Sadowski
              Reporter:
              erans Gilles Sadowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: