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

Project Coin: binary literals

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • tools
    • b73
    • generic
    • generic
    • Verified

      One of the submissions to Project Coin was to add binary integer literals to the platform:

      http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000929.html

      In short, with a prefix of "0b" literals could be written in binary such as 0b1111 instead of 0xF.

            jjg Jonathan Gibbons
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: