RFR: 8279986: methods Math::asXExact for safely checked primitive casts

Michael Hixson duke at openjdk.java.net
Thu May 5 14:23:16 UTC 2022


On Thu, 5 May 2022 10:11:05 GMT, Raffaello Giulietti <duke at openjdk.java.net> wrote:

> Add a family of "safe" cast methods.

This PR also solves [JDK-8154433](https://bugs.openjdk.java.net/browse/JDK-8154433), though you went the other way on -0.0.

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

PR: https://git.openjdk.java.net/jdk/pull/8548


More information about the core-libs-dev mailing list