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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b23

      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.

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

              Created:
              Updated:
              Resolved: