Consolidate duplicate code in BigInteger and MutableBigInteger

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8
    • Component/s: core-libs
    • None

      BigInteger and MutableBigInteger contain a certain amount of very similar code. For example, the BigInteger methods add(int[],int[]), multiplyToLen(), and subtract(int[],int[]) are very similar to the MutableBigInteger methods add(), multiply(), and subtract(), respectively. For each of these operations it might, e.g., be feasible to create a static method which accepts int array parameters and to invoke this static method from the respective analogs in BigInteger and MutableBigInteger.

            Assignee:
            Brian Burkhalter
            Reporter:
            Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: