8273091: Doc of [Strict]Math.floorDiv(long,int) erroneously documents int in @return tag
Reviewed-by: darcy, bpb
This commit is contained in:
parent
e66c8afb59
commit
51167846cb
src/java.base/share/classes/java/lang
@ -1308,7 +1308,7 @@ public final class Math {
|
||||
* @param x the dividend
|
||||
* @param y the divisor
|
||||
* @return the largest (closest to positive infinity)
|
||||
* {@code int} value that is less than or equal to the algebraic quotient.
|
||||
* {@code long} value that is less than or equal to the algebraic quotient.
|
||||
* @throws ArithmeticException if the divisor {@code y} is zero
|
||||
* @see #floorMod(long, int)
|
||||
* @see #floor(double)
|
||||
|
@ -1086,7 +1086,7 @@ public final class StrictMath {
|
||||
* @param x the dividend
|
||||
* @param y the divisor
|
||||
* @return the largest (closest to positive infinity)
|
||||
* {@code int} value that is less than or equal to the algebraic quotient.
|
||||
* {@code long} value that is less than or equal to the algebraic quotient.
|
||||
* @throws ArithmeticException if the divisor {@code y} is zero
|
||||
* @see Math#floorDiv(long, int)
|
||||
* @see Math#floor(double)
|
||||
|
Loading…
x
Reference in New Issue
Block a user