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

FastMath is not an exact replacement for StrictMath

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2, 3.0
    • Fix Version/s: 2.2, 3.0
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: