-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 8, 11, 17, 19
-
Component/s: client-libs
-
None
In sun/awt/geom/Curve.java the methods next() and prev()
convert to long to find adjacent values of a double:
Double.longBitsToDouble(Double.doubleToLongBits(v)-1);
This could be improved using Math.nextDown() etc., similar toJDK-8280550.
convert to long to find adjacent values of a double:
Double.longBitsToDouble(Double.doubleToLongBits(v)-1);
This could be improved using Math.nextDown() etc., similar to
- relates to
-
JDK-8280550 SplittableRandom#nextDouble(double,double) can return result >= bound
-
- Closed
-