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

FastMath is not an exact replacement for StrictMath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2, 3.0
    • 2.2, 3.0
    • None

    Description

      FastMath Javadoc says:

      "Faster, more accurate, portable alternative to StrictMath."

      However, it does not implement the following StrictMath methods:

      hypot(double, double)
      IEEEremainder(double, double)

      Nor the following, though it probably should:
      signum(float)
      ulp(float)

      FastMath implements the following additional methods:

      acosh(double)
      asinh(double)
      atanh(double)
      nextAfter(double, double)
      nextUp(double)

      I think this should be documented.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: