[MATH-1237] Fix javadoc of methods floorDiv,floorMod in FastMath. Thanks to Ken Williams.
This commit is contained in:
parent
5511eec3b4
commit
0dd621687d
|
@ -51,6 +51,9 @@ If the output is not quite correct, check for invisible trailing spaces!
|
|||
</properties>
|
||||
<body>
|
||||
<release version="3.6" date="XXXX-XX-XX" description="">
|
||||
<action dev="tn" type="fix" issue="MATH-1237" due-to="Ken Williams">
|
||||
Fixed javadoc of methods {floorDiv,floorMod} in class "FastMath".
|
||||
</action>
|
||||
<action dev="tn" type="add" issue="MATH-837">
|
||||
"AggregateSummaryStatistics" can now aggregate any kind of
|
||||
"StatisticalSummary".
|
||||
|
|
|
@ -3915,7 +3915,7 @@ public class FastMath {
|
|||
return a * b;
|
||||
}
|
||||
|
||||
/** Finds q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b > 0.
|
||||
/** Finds q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0.
|
||||
* <p>
|
||||
* This methods returns the same value as integer division when
|
||||
* a and b are same signs, but returns a different value when
|
||||
|
@ -3923,7 +3923,7 @@ public class FastMath {
|
|||
* </p>
|
||||
* @param a dividend
|
||||
* @param b divisor
|
||||
* @return q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b > 0
|
||||
* @return q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0
|
||||
* @exception MathArithmeticException if b == 0
|
||||
* @see #floorMod(int, int)
|
||||
* @since 3.4
|
||||
|
@ -3945,7 +3945,7 @@ public class FastMath {
|
|||
|
||||
}
|
||||
|
||||
/** Finds q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b > 0.
|
||||
/** Finds q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0.
|
||||
* <p>
|
||||
* This methods returns the same value as integer division when
|
||||
* a and b are same signs, but returns a different value when
|
||||
|
@ -3953,7 +3953,7 @@ public class FastMath {
|
|||
* </p>
|
||||
* @param a dividend
|
||||
* @param b divisor
|
||||
* @return q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b > 0
|
||||
* @return q such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0
|
||||
* @exception MathArithmeticException if b == 0
|
||||
* @see #floorMod(long, long)
|
||||
* @since 3.4
|
||||
|
@ -3975,7 +3975,7 @@ public class FastMath {
|
|||
|
||||
}
|
||||
|
||||
/** Finds r such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b > 0.
|
||||
/** Finds r such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0.
|
||||
* <p>
|
||||
* This methods returns the same value as integer modulo when
|
||||
* a and b are same signs, but returns a different value when
|
||||
|
@ -3983,7 +3983,7 @@ public class FastMath {
|
|||
* </p>
|
||||
* @param a dividend
|
||||
* @param b divisor
|
||||
* @return r such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b > 0
|
||||
* @return r such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0
|
||||
* @exception MathArithmeticException if b == 0
|
||||
* @see #floorDiv(int, int)
|
||||
* @since 3.4
|
||||
|
@ -4005,7 +4005,7 @@ public class FastMath {
|
|||
|
||||
}
|
||||
|
||||
/** Finds r such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b > 0.
|
||||
/** Finds r such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0.
|
||||
* <p>
|
||||
* This methods returns the same value as integer modulo when
|
||||
* a and b are same signs, but returns a different value when
|
||||
|
@ -4013,7 +4013,7 @@ public class FastMath {
|
|||
* </p>
|
||||
* @param a dividend
|
||||
* @param b divisor
|
||||
* @return r such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b > 0
|
||||
* @return r such that a = q b + r with 0 <= r < b if b > 0 and b < r <= 0 if b < 0
|
||||
* @exception MathArithmeticException if b == 0
|
||||
* @see #floorDiv(long, long)
|
||||
* @since 3.4
|
||||
|
|
Loading…
Reference in New Issue