mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
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
2 changed files with 2 additions and 2 deletions
|
@ -1308,7 +1308,7 @@ public final class Math {
|
||||||
* @param x the dividend
|
* @param x the dividend
|
||||||
* @param y the divisor
|
* @param y the divisor
|
||||||
* @return the largest (closest to positive infinity)
|
* @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
|
* @throws ArithmeticException if the divisor {@code y} is zero
|
||||||
* @see #floorMod(long, int)
|
* @see #floorMod(long, int)
|
||||||
* @see #floor(double)
|
* @see #floor(double)
|
||||||
|
|
|
@ -1086,7 +1086,7 @@ public final class StrictMath {
|
||||||
* @param x the dividend
|
* @param x the dividend
|
||||||
* @param y the divisor
|
* @param y the divisor
|
||||||
* @return the largest (closest to positive infinity)
|
* @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
|
* @throws ArithmeticException if the divisor {@code y} is zero
|
||||||
* @see Math#floorDiv(long, int)
|
* @see Math#floorDiv(long, int)
|
||||||
* @see Math#floor(double)
|
* @see Math#floor(double)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue