RFR: 8313875: Use literals instead of static fields in java.util.Math: twoToTheDoubleScaleUp, twoToTheDoubleScaleDown [v2]
Raffaello Giulietti
rgiulietti at openjdk.org
Tue Aug 8 08:44:45 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.
LGTM (not a Reviewer)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14875#issuecomment-1669180764
More information about the core-libs-dev
mailing list