JDK-8286810 : Use public [Double|Float].PRECISION fields in jdk.internal.math.[Double|Float]Consts
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2022-05-16
  • Updated: 2022-05-16
Related Reports
Relates :  
Description
The jdk.internal.math.[Double|Float]Consts.SIGNIFICAND_WIDTH fields should be replaced by the public [Double|Float].PRECISION fields.
In addition, "magic" literals should be replaced with constant compile-time expressions based on SIZE and PRECISION.
Comments
A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8729 Date: 2022-05-16 14:48:43 +0000
16-05-2022