RFR: 8075806: divideExact is missing in java.lang.Math

Brian Burkhalter bpb at openjdk.java.net
Tue Jul 13 18:32:15 UTC 2021


On Tue, 13 Jul 2021 17:21:52 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Please consider this proposal to add `divideExact()` methods for integral data types to `java.lang.Math` thereby rounding out "exact" support to all four basic arithmetic operations.

Note: The `StrictMath` equivalents were intentionally omitted until the review converges to a consensus.

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

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


More information about the core-libs-dev mailing list