<i18n dev> RFR: 8362448: Make use of the Double.toString(double) algorithm in java.text.DecimalFormat [v2]
Roger Riggs
rriggs at openjdk.org
Thu Jul 17 13:43:49 UTC 2025
On Thu, 17 Jul 2025 12:28:06 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
>> Align the behavior of `DecimalFormat` on `double`s with that of `Formatter`.
>
> Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:
>
> Added comment to COMPAT static field.
src/java.base/share/classes/jdk/internal/math/FormattedFPDecimal.java line 51:
> 49:
> 50: private boolean exact; // this decimal is an exact fp
> 51: private boolean away; // this decimal has a larger magnitude than fp
Drive by comment.
The name "away" doesn't convey enough information nor the implications. A longer comment somewhere might be in order.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26364#discussion_r2213385118
More information about the i18n-dev
mailing list