RFR: 8300869: Make use of the Double.toString(double) algorithm in java.util.Formatter [v2]

Roger Riggs rriggs at openjdk.org
Fri Jan 27 19:59:19 UTC 2023


On Fri, 27 Jan 2023 18:19:58 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> Align `double` and `float` decimal conversions in `java.util.Formatter` with the algorithm used in `Double.toString(double)`.
>
> Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8300869: Make use of the Double.toString(double) algorithm in java.util.Formatter
>   
>   Added tests for known differences between current and new behavior.

test/jdk/java/util/Formatter/BasicInt.java line 1:

> 1: /*

It looks line the non-float/double test classes are unchanged, they could be dropped from the PR.

-------------

PR: https://git.openjdk.org/jdk/pull/12259


More information about the core-libs-dev mailing list