On Mon, 23 Feb 2026 02:45:51 GMT, Joe Darcy <[email protected]> wrote:
>> This equivalence is already covered by their `equals(Object)` methods. I >> would assume they are declared as `equals(double, double)` etc. similar to >> how instance `Double::isInfinite()` and static `Double::isInfinite(double)` >> are declared. > >> This equivalence is already covered by their `equals(Object)` methods. I >> would assume they are declared as `equals(double, double)` etc. similar to >> how instance `Double::isInfinite()` and static `Double::isInfinite(double)` >> are declared. > > It is true that there are already multiple expressions using existing methods > can be written to implement that functionality. However, conceptually, I > don't think boxing up to Double should be necessary (or desirable). @jddarcy The `java/lang/Math` tests fail (but disregard my previous message). ------------- PR Comment: https://git.openjdk.org/jdk/pull/29870#issuecomment-3945104630
