[ https://issues.apache.org/jira/browse/MATH-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946739#comment-13946739 ]
Sebb commented on MATH-1113: ---------------------------- bq. both "FastMath.atan2" and "Math.atan" call the internal method ... I assume that should read as follows? bq. both "FastMath.atan2" and "FastMath.atan" call the internal method In which case if Math.atan is significantly faster than Math.atan2 this could provide a simple explanation for the relative slowness of FastMath.atan. > "FastMath.atan" is slow > ----------------------- > > Key: MATH-1113 > URL: https://issues.apache.org/jira/browse/MATH-1113 > Project: Commons Math > Issue Type: Improvement > Affects Versions: 3.2 > Reporter: Gilles > Priority: Minor > Labels: perfomance > Fix For: 3.3 > > > This issue is related to > MATH-740 > MATH-901 > Micro-benchmarks show that "FastMath.atan2" is faster than "Math.atan2" but > that "FastMath.atan" is slower than "Math.atan". However, both > "FastMath.atan2" and "Math.atan" call the internal method > "FastMath.atan(double,double,boolean)". > It seems that some performance improvement could be achieved, through > understanding why the results seem contradictory. -- This message was sent by Atlassian JIRA (v6.2#6252)