On Mon, 23 Feb 2026 01:59:52 GMT, Chen Liang <[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.

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).

-------------

PR Comment: https://git.openjdk.org/jdk/pull/29870#issuecomment-3942229402

Reply via email to