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

java.lang.Math.ceil/floor documentation switched

XMLWordPrintable

    • tiger
    • x86
    • windows_xp

      Name: rl43681 Date: 09/08/2003


      A DESCRIPTION OF THE PROBLEM :
      floor should be towards negative infinity
      ceil should be towards positive inifinity
      just reverse the documentation and all is fine



      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html#ceil(double)
      (Incident Review ID: 202034)
      ======================================================================

            shainessunw Suzette Haines (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: