On Tue, 8 Dec 2020 16:29:49 GMT, Joe Darcy <da...@openjdk.org> wrote:
> Updates to the specifications of Double.{equals, compareTo} to explain more > explicitly why the obvious wrappers around "==" and "<"/"==" are not > sufficient for floating-point values. > > Once the wording is worked out, I'll replicate it for the analogous methods > on Float. This pull request has now been integrated. Changeset: 474dba2d Author: Joe Darcy <da...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/474dba2d Stats: 205 lines in 2 files changed: 124 ins; 31 del; 50 mod 8257086: Clarify differences between {Float, Double}.equals and == Reviewed-by: smarks, bpb ------------- PR: https://git.openjdk.java.net/jdk/pull/1699