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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      rc
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: