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

different values of max/min values for float/double

    XMLWordPrintable

Details

    • kestrel
    • sparc
    • solaris_2.5.1

    Description



      Name: laC46010 Date: 12/19/97



      Different values of max and min float and double values are given in specs:

       ----------------------------------------------------------------------------
         Float.MAX_VALUE | Float.MIN_VALUE |
                                 | |
       3.40282347e+38f | 1.40239846e-45f. | JLS 3.10.2, p.22
       3.4028235e+38f | 1.4e-45f | JLS 20.9, p.503
       3.4028234663852886e+38 | 1.40129846432481707e-45 | API spec, 1.7, p.33
       3.40282347e+38F | 1.40239846e-45F | VM spec 3.2.2, p.59
       ----------------------------------------------------------------------------
       Double
       Double.MAX_VALUE | Double.MIN_VALUE |
                                 | |
       1.79769313486231570e+308 | 4.94065645841246544e-324 | JLS 3.10.2, p.22
       1.79769313486231570e+308 | 5e-324 | JLS 20.10, p.511
       1.79769313486231570e+308 | 4.94065645841246544e-324 | API spec 1.6, p.26
       1.79769313486231570e+308 | 4.94065645841246544e-324 | JVM spec 3.2.2, p.59


      ======================================================================

      Attachments

        Activity

          People

            gbrachasunw Gilad Bracha (Inactive)
            leosunw Leo Leo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: