RFR: 8301226: Add clamp() methods to java.lang.Math and to StrictMath [v2]
Tagir F. Valeev
tvaleev at openjdk.org
Mon Feb 6 09:46:16 UTC 2023
On Mon, 6 Feb 2023 09:03:48 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
>> @ExE-Boss I think that immediately following `isNaN` checks give enough hint that we want NaN to be here.
>
> Ah I see, a comment explaining the intention would be helpful here, then
Ok, added some explanatory comments. Hopefully they clarify the intention.
-------------
PR: https://git.openjdk.org/jdk/pull/12428
More information about the core-libs-dev
mailing list