RFR: 8301226: Add clamp() methods to java.lang.Math and to StrictMath [v2]

Tagir F. Valeev tvaleev at openjdk.org
Mon Feb 6 08:49:53 UTC 2023


On Sun, 5 Feb 2023 18:08:47 GMT, ExE Boss <duke at openjdk.org> wrote:

>> No. I want NaNs to go into this branch
>
> That should probably include a comment then.

@ExE-Boss I think that immediately following `isNaN` checks give enough hint that we want NaN to be here.

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

PR: https://git.openjdk.org/jdk/pull/12428


More information about the core-libs-dev mailing list