Charles Cooper created MATH-953:
-----------------------------------

             Summary: 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
             Fix For: 3.1.1
         Attachments: patch

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