On Thu, 22 Jul 2021 19:40:46 GMT, Brian Burkhalter <b...@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. > > Brian Burkhalter has updated the pull request incrementally with one > additional commit since the last revision: > > 8075806: Clean up division by zero verbiage Marked as reviewed by darcy (Reviewer). test/jdk/java/lang/Math/ExactArithTests.java line 135: > 133: } > 134: > 135: boolean exceptionExpected = false; Please add "divideExact" to the list of methods tested by static void testIntegerExact(int x, int y) and similar change for long. ------------- PR: https://git.openjdk.java.net/jdk/pull/4770