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

JLS3 3.10.2 has misleading information on largest/smallest floating-point literals

XMLWordPrintable

    • rc
    • generic
    • generic
    • Verified

      Section 3.10.2 of JLSv2 lists various strings as the largest and smallest float and double literals. This is misleading since there are larger/smaller strings which will convert to those values. In other words, the canonical string representation of a floating-point value is not the largest (or smallest) numerical string that will convert to that value.

      This point should be clarified.

            abuckley Alex Buckley
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: