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

Charles Cooper updated MATH-953:
--------------------------------

    Attachment: patch
    
> 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.1.1
>
>         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

Reply via email to