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

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

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment