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

No check for overflow in "ArithmeticUtils.pow"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Labels:

      Description

      The "pow" methods in "o.a.c.m.util.ArithmeticUtils" do not check for overflow.
      They will happily return nonsensical results.

        Attachments

        1. MATH-1047.patch
          5 kB
          Gilles

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erans Gilles
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: