RFR: 8301226: Add clamp() methods to java.lang.Math and to StrictMath [v2]
Quan Anh Mai
qamai at openjdk.org
Mon Feb 6 09:06:49 UTC 2023
On Mon, 6 Feb 2023 08:46:54 GMT, Tagir F. Valeev <tvaleev at openjdk.org> wrote:
>> 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.
Ah I see, a comment explaining the intention would be helpful here, then
-------------
PR: https://git.openjdk.org/jdk/pull/12428
More information about the core-libs-dev
mailing list