Floating-point values have a notion of representation equivalence distinct from the comparison done by ==. This notion of equivalence could have a method to provide the predicate directly, rather than relying on one of several expressions listed in the documentation (JDK-8257086).
- csr for
-
JDK-8378415 Add methods to test for representation equivalence
-
- Draft
-
- relates to
-
JDK-8257086 Clarify differences between {Float, Double}.equals and ==
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/29870