commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MATH-1050) Deprecate "pow(int, long)" and "pow(long,long)" in "ArithmeticUtils"
Date Thu, 20 Feb 2014 09:24:19 GMT

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

Luc Maisonobe resolved MATH-1050.
---------------------------------

    Resolution: Fixed

This issue was fixed a long time ago.

> 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.5#6160)

Mime
View raw message