You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2015/02/17 00:15:11 UTC
[jira] [Resolved] (MATH-1050) Deprecate "pow(int, long)" and
"pow(long,long)" in "ArithmeticUtils"
[ https://issues.apache.org/jira/browse/MATH-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Neidhart resolved MATH-1050.
-----------------------------------
Resolution: Fixed
Removed methods in commit 745d383af12137ccbcbe1f3cb4c9db73f87a66ca.
> Deprecate "pow(int, long)" and "pow(long,long)" in "ArithmeticUtils"
> --------------------------------------------------------------------
>
> Key: MATH-1050
> URL: https://issues.apache.org/jira/browse/MATH-1050
> Project: Commons Math
> Issue Type: Task
> Affects Versions: 3.2
> Reporter: Gilles
> Assignee: Gilles
> Priority: Trivial
> Labels: API, deprecation
> Fix For: 4.0
>
>
> Those two methods uses a "long" for the exponent, but overflow will occur when the exponent is larger than 31 (except for the trivial case where the base is 1).
> See also [this thread|http://markmail.org/message/nhnst5eryqyudxfy] on the dev ML.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)