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

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

    XMLWordPrintableJSON

    Details

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

      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

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

              Dates

              • Created:
                Updated:
                Resolved: