[ 
https://issues.apache.org/jira/browse/MATH-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809572#comment-13809572
 ] 

Gilles commented on MATH-1050:
------------------------------

Deprecation introduced in revision 1537279.

Methods to be removed before releasing the next major version.


> 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, 3.3
>
>
> 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.1#6144)

Reply via email to