commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MATH-1050) Deprecate "pow(int, long)" and "pow(long,long)" in "ArithmeticUtils"
Date Mon, 16 Feb 2015 23:15:11 GMT

     [ 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)

Mime
View raw message