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

REGRESSION: ceil(...) and floor(...) wrong descriptions at java.lang.Math class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description



      Name: js151677 Date: 08/05/2004


      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      floor(...) rounds down. Then, it returns the largest (closest to positive infinity) floating-point value that is not greater than the argument and is equal to a mathematical integer.

      ceil(...) rounds up. Then, it returns the smallest (closest to negative infinity) floating-point value that is not less than the argument and is equal to a mathematical integer.



      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 1.4.2
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

      (Incident Review ID: 295782)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              darcy Joe Darcy
              Reporter:
              jssunw Jitender S (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: