Gilles created MATH-840:
---------------------------

             Summary: Failures in "FastMathTestPerformance" when testRuns >= 
10,000,002
                 Key: MATH-840
                 URL: https://issues.apache.org/jira/browse/MATH-840
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Gilles
            Priority: Trivial


Tests for methods "asin" and "acos" fail because they use
{code}
i / 10000000.0
{code}
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
{code}
i / (double) RUNS
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to