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

Karl T duke at openjdk.org
Tue Feb 14 20:25:54 UTC 2023


On Tue, 14 Feb 2023 20:13:03 GMT, Tagir F. Valeev <tvaleev at openjdk.org> wrote:

> Finally, I find it extremely strange to use var to hide the type and name the variable as `longValue2`, encoding the type inside variable name.

This is just an example name to document the type of the var for this post. 😉

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

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


More information about the core-libs-dev mailing list