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

Specification Error in BigInteger.mod() documentation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • docs
    • beta
    • generic
    • generic



      Name: skT88420 Date: 06/09/99


      The specification of the BigInteger.mod() method seems
      to be incorrect in the online JDK 1.2 documentation.

      It says that the method always returns a positive BigInteger.
      This is not true as zero is indeed returned when "this"
      is equal to its argument.

      The word positive should probably be changed to non-negative.
      (Review ID: 84161)
      ======================================================================

            asommere Alan Sommerer (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: