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

Javadoc for Math.floorMod(int, int) gives wrong example

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b22
    • Verification:
      Not verified

      Description

      There are two sets of examples given: One for the case when signs of the arguments are the same and the other for the case when signs of the arguments are different.

      The second set of examples wrongly contains an example from the first set.

        Attachments

          Activity

            People

            Assignee:
            igerasim Ivan Gerasimov
            Reporter:
            igerasim Ivan Gerasimov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: