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

Constant Field Values doc inconsistent with Float.MAX_VALUE and MIN_VALUE

XMLWordPrintable



      Name: rmT116609 Date: 04/05/2004


      A DESCRIPTION OF THE PROBLEM :
      The Constant Field Values doc at http://java.sun.com/j2se/1.4.2/docs/api/constant-values.html and elsewhere is inconsistent with the actual values for Float.MAX_VALUE and Float.MIN_VALUE.

      The doc says:
      public static final float MAX_VALUE 3.4028234663852886E38f
      public static final float MIN_VALUE 1.401298464324817E-45f

      The source code and behavior is:
          public static final float MAX_VALUE = 3.4028235e+38f;
          public static final float MIN_VALUE = 1.4e-45f;



      REPRODUCIBILITY :
      This bug can be reproduced always.


      (Incident Review ID: 246379)
      ======================================================================

            darcy Joe Darcy
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: