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

Luc Maisonobe resolved MATH-1272.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.6

Fixed in git repository (commit d93c95d for master branch, commit 252a013 for 
MATH_3_X branch).

Thanks for the report and for the patch!

> FastMath.pow(double, long) enters an infinite loop with Long.MIN_VALUE
> ----------------------------------------------------------------------
>
>                 Key: MATH-1272
>                 URL: https://issues.apache.org/jira/browse/MATH-1272
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 4.0, 3.5
>            Reporter: Qualtagh
>            Priority: Minor
>              Labels: patch
>             Fix For: 4.0, 3.6
>
>         Attachments: MATH-1272.patch
>
>
> FastMath.pow(double, long) enters an infinite loop with Long.MIN_VALUE. It 
> cannot be negated, so unsigned shift (>>>) is required instead of a signed 
> one (>>).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to