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

Use public [Double|Float].PRECISION fields in jdk.internal.math.[Double|Float]Consts

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 19
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b23

      Description

      The jdk.internal.math.[Double|Float]Consts.SIGNIFICAND_WIDTH fields should be replaced by the public [Double|Float].PRECISION fields.
      In addition, "magic" literals should be replaced with constant compile-time expressions based on SIZE and PRECISION.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rgiulietti Raffaello Giulietti
              Reporter:
              rgiulietti Raffaello Giulietti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: