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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 5.0
    • core-libs
    • x86
    • windows_2000



      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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: