[ https://issues.apache.org/jira/browse/MATH-740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15955077#comment-15955077 ]
Michael Borcherds commented on MATH-740: ---------------------------------------- Note: as FastMath relies on Math.ulp(), Math.IEEEremainder(), Math.getExponent(), Math.powerOfTwoD() an implementation would be needed for those (with implications for testing), see MATH-1406 Also GWT 2.8 supports Math.doubleToLongBits() (probably very slow) but not Math.doubleToRawLongBits() > Some "FastMath" functions are slow > ---------------------------------- > > Key: MATH-740 > URL: https://issues.apache.org/jira/browse/MATH-740 > Project: Commons Math > Issue Type: Wish > Reporter: Gilles > Priority: Minor > Fix For: 4.0 > > Attachments: jafamatests.zip > > > From the two benchmarks we currently have in "FastMathTestPerfomance", we > have that the following functions are much slower in "FastMath" than in > either "Math" or "StrictMath" (the performance *loss*, for each of the > benchmarks, is given in parentheses): > * log10 (46%, 36%) > * log1p (68%, 112%) > * tan (11%, 61%) > * atan (26%, 125%) > * atan2 (44%, 40%) -- This message was sent by Atlassian JIRA (v6.3.15#6346)