-
Enhancement
-
Resolution: Fixed
-
P4
-
19
-
b14
Depending on the range of the number line, a double value has between 15 and 17 digits of decimal precision. The literal used to initialize Math.PI and Math.E have several digits more precision than that maximum.
That is potentially confusing to readers of the code and the minimum length strings to exactly represent the value in question should be used instead.
That is potentially confusing to readers of the code and the minimum length strings to exactly represent the value in question should be used instead.
- relates to
-
JDK-8283124 Add constant for tau to Math and StrictMath
- Resolved
- links to
-
Commit openjdk/jdk/671b6efd
-
Review openjdk/jdk/7814
-
Review(master) openjdk/jdk/7814