Qualtagh created MATH-1272: ------------------------------ Summary: 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: 3.5, 4.0 Reporter: Qualtagh Priority: Minor Fix For: 4.0
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)