On Thu, 9 Sep 2021 23:44:49 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
>> Raffaello Giulietti has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8271602: Add Math.ceilDiv() family parallel to Math.floorDiv() family > > src/java.base/share/classes/java/lang/StrictMath.java line 1465: > >> 1463: * <p> >> 1464: * The floor modulus is {@code r = x - (ceilDiv(x, y) * y)}, >> 1465: * has the same sign as the divisor {@code y} or is zero, and > > In line 1465 I think `same` should be `opposite`. Just pushed the corrections. ------------- PR: https://git.openjdk.java.net/jdk/pull/5341