Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6083

Update minimum/maximum floating-point values to align with DERBY-3398 fixes

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.10.1.1
    • 10.10.1.1
    • Documentation
    • None

    Description

      The limits for floating-point values have changed as a result of DERBY-3398 and should be documented:

      Smallest DOUBLE: 4.9e-324 (aka Double.MIN_VALUE)
      Largest DOUBLE: 1.7976931348623157e+308 (aka Double.MAX_VALUE)
      Smallest positive DOUBLE: 2.2250738585072014E-308 (aka Double.MIN_NORMAL)
      Largest negative DOUBLE: -2.2250738585072014E-308
      Smallest REAL: 1.4e-45 (aka Float.MIN_VALUE)
      Largest REAL: 3.4028235e+38 (aka Float.MAX_VALUE)
      Smallest positive REAL: 1.17549435E-38 (aka Float.MIN_NORMAL)
      Largest negative REAL: -1.17549435E-38

      Attachments

        1. DERBY-6083.diff
          7 kB
          Camilla Haase
        2. DERBY-6083.stat
          0.1 kB
          Camilla Haase
        3. DERBY-6083.zip
          6 kB
          Camilla Haase
        4. DERBY-6083-2.diff
          13 kB
          Camilla Haase
        5. DERBY-6083-2.stat
          0.2 kB
          Camilla Haase
        6. DERBY-6083-2.zip
          12 kB
          Camilla Haase

        Issue Links

          Activity

            People

              chaase3 Camilla Haase
              chaase3 Camilla Haase
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: