RFR: 8313875: Use literals instead of static fields final in java.util.Math: twoToTheDoubleScaleUp, twoToTheDoubleScaleDown [v2]
Andrey Turbanov
aturbanov at openjdk.org
Mon Aug 7 19:44:48 UTC 2023
> 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.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14875/files
- new: https://git.openjdk.org/jdk/pull/14875/files/759180e3..4e154831
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14875&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14875&range=00-01
Stats: 6 lines in 1 file changed: 0 ins; 4 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/14875.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14875/head:pull/14875
PR: https://git.openjdk.org/jdk/pull/14875
More information about the core-libs-dev
mailing list