[jira] [Closed] (MATH-953) Replaced Double.doubleToLongBits to Double.doubleToRawLongBits where appropriate

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (MATH-953) Replaced Double.doubleToLongBits to Double.doubleToRawLongBits where appropriate

AD_LB (Jira)

     [ https://issues.apache.org/jira/browse/MATH-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe closed MATH-953.
------------------------------


Closing issue as version 3.2 has been released on 2013-04-06.
               

> Replaced Double.doubleToLongBits to Double.doubleToRawLongBits where appropriate
> --------------------------------------------------------------------------------
>
>                 Key: MATH-953
>                 URL: https://issues.apache.org/jira/browse/MATH-953
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.1.1
>            Reporter: Charles Cooper
>            Priority: Minor
>              Labels: optimization, patch
>             Fix For: 3.2
>
>         Attachments: patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Replaced calls to Double.doubleToLongBits with Double.doubleToRawLongBits in FastMath where appropriate (i.e. I decided it was safe and would result in a speedup). Some methods might be significantly faster, like getExponent which I measured to be about 40% faster (do your own tests!). Patch is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira