Uploaded image for project: 'Commons Numbers'
  1. Commons Numbers
  2. NUMBERS-151

Performance refinement for ArithmeticUtils.pow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-beta1
    • 1.0
    • core
    • None

    Description

      Hi.
      right now ArithmeticUtils.pow(0,0) = 1, but not throw an Exception, which I think not quite right...
      Is it a bug?

      Anyway, we found a way to faster the calculate, so at least we can get an performance refine pr.

      Attachments

        Activity

          People

            Unassigned Unassigned
            XenoAmess Jin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h