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

5.1.2: Name the widening primitive conversions that do not lose information about the overall magnitude of a numeric value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • specification
    • None

      In 5.1.2 it is observed that the set of widening primitive conversions can be partitioned into those that may result in a loss of precision, and those that preserve values exactly. It would be helpful for possible future features and compiler warnings, if we name these partitions.

      I propose that we call the two partitions: (1) Exact widening primitive conversions, and (2) Inexact widening primitive conversions.

      A spec change document is attached.

            gbierman Gavin Bierman
            gbierman Gavin Bierman
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: