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

No check for overflow in "ArithmeticUtils.pow"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2
    • 3.3
    • None

    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 Sadowski

        Activity

          People

            Unassigned Unassigned
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: