On Wed, 14 Jul 2021 16:43:32 GMT, Joe Darcy <da...@openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   8075806: Separate div-by-0 verbiage; change impl
>
> src/java.base/share/classes/java/lang/Math.java line 1008:
> 
>> 1006:      * Returns the quotient of the arguments, throwing an exception if 
>> the
>> 1007:      * result overflows an {@code int}.  Such overflow can occur if 
>> and only
>> 1008:      * if either {@code y} is zero, or both {@code x} is
> 
> I think the divide by zero case should be discussed separately from overflow.

Fixed.

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

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

Reply via email to