RFR: 8343829: Unify decimal and hexadecimal parsing in FloatingDecimal [v6]
Shaojin Wen
swen at openjdk.org
Fri May 2 12:10:51 UTC 2025
On Fri, 2 May 2025 12:00:13 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
>> See the JBS bug for some details.
>
> Raffaello Giulietti has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains nine additional commits since the last revision:
>
> - Remove unused BIG_DECIMAL_EXPONENT
> - Merge branch 'master' into 8343829
> - Merge branch 'master' into 8343829
> - Redacted comments.
> - Merge branch 'master' into 8343829
> - Minors in comments.
> - Removed repeated comment.
> - Refactoring some code and comments.
> - 8343829: Unify decimal and hexadecimal parsing in FloatingDecimal
src/java.base/share/classes/jdk/internal/math/FloatingDecimal.java line 2352:
> 2350:
> 2351: /* The precision of the format. */
> 2352: private static final int[] P = {
private static final int[] P
private static final int[] EP_MIN
private static final int[] EP_MAX
private static final int[] W
private static final int[] E_MAX
private static final int[] E_MIN
private static final int[] Q_MIN
private static final int[] HEX_COUNT
These should all be added with @Stable
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22737#discussion_r2071520733
More information about the core-libs-dev
mailing list