[ https://issues.apache.org/jira/browse/MATH-740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958922#comment-15958922 ]
Michael Borcherds commented on MATH-740:
----------------------------------------
Sorry, for
> Also GWT 2.8 supports Math.doubleToLongBits() (probably very slow) but not Math.doubleToRawLongBits()
read.
> Also GWT 2.8 supports Double.doubleToLongBits() (probably very slow) but not Double.doubleToRawLongBits()
Math.powerOfTwoD() is a method from Math.java
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/lang/Math.java
> 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)