RFR: 8313875: Use literals instead of static fields in java.util.Math: twoToTheDoubleScaleUp, twoToTheDoubleScaleDown [v2]
Brian Burkhalter
bpb at openjdk.org
Mon Aug 7 19:46:40 UTC 2023
On Mon, 7 Aug 2023 19:44:48 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
>> Couple of static fields in Math are used only once and can be replaced with literals `0x1p512`/`0x1p-512 `
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
>
> 8313875: Make fields final in java.util.Math: twoToTheDoubleScaleUp, twoToTheDoubleScaleDown
>
> completely remove the fields. Use literals instead.
Marked as reviewed by bpb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/14875#pullrequestreview-1566050946
More information about the core-libs-dev
mailing list