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

Avoid redundant parsing when formatting with DigitList

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • 21
    • core-libs
    • In Review

      When formatting doubles or BigDecimals, DigitList first formats them as a string and then parses the resultant string to extract the mantissa and the exponent. This can be done more directly.

      This also facilitates followup cleanups in FloatingDecimal (removal of getChars method) but I've left that for later to minimize conflicts with other changes there.

            Unassigned Unassigned
            rgiulietti Raffaello Giulietti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: