[
https://issues.apache.org/jira/browse/MATH-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qualtagh updated MATH-1272:
---------------------------
Attachment: MATH-1272.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
>
> 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)