RFR: 8075806: divideExact is missing in java.lang.Math [v2]

Brian Burkhalter bpb at openjdk.java.net
Wed Jul 14 19:59:49 UTC 2021


> 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: Separate div-by-0 verbiage; change impl

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4770/files
  - new: https://git.openjdk.java.net/jdk/pull/4770/files/db216a6d..6843e666

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4770&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4770&range=00-01

  Stats: 29 lines in 1 file changed: 8 ins; 3 del; 18 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4770.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4770/head:pull/4770

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


More information about the core-libs-dev mailing list