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

Request to support hexadecimal floating-point literals

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 5.0
    • 5.0
    • specification
    • None
    • rc
    • generic
    • generic
    • Verified

      With the addition of library support for hexadecimal floating-point strings (bug 4826774) it would be convenient if those strings could also be used as floating-point literals in the Java source language, as is possible in C99.

      A Java-style EBNF grammar for hexadecimal strings is available as part of the 4826774 work.

      Having hexadecimal floating-point literal support would allow a precise way to specify floating-point constants that could then be propagated as constants by the compiler.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: