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

Failures in "FastMathTestPerformance" when testRuns >= 10,000,002

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0
    • 3.1
    • None

    Description

      Tests for methods "asin" and "acos" fail because they use

      i / 10000000.0
      

      as the argument to those methods, where "i" goes from 0 to the value of "testRuns" minus one (if "testRuns" is defined).

      A solution is to replace the above with

      i / (double) RUNS
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: