Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1050

Deprecate "pow(int, long)" and "pow(long,long)" in "ArithmeticUtils"

Rank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 4.0
    • Labels:

      Description

      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 on the dev ML.

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              erans Gilles Sadowski
              Reporter:
              erans Gilles Sadowski

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment