Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8022180

BigInteger Burnikel-Ziegler quotient and remainder calculation assumes quotient parameter is zero

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None
    • b105
    • Verified

    Description

      BigInteger. divideAndRemainderBurnikelZiegler () assumes the quotient parameter to be zero which is the case in all places it is called from. But there is no guarantee this won't change in the future and besides, the assumption is not documented.

      For more detail see also

      http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-August/019529.html

      which includes a patch.

      Attachments

        Activity

          People

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: