[MATH-1237] Fix javadoc of methods floorDiv,floorMod in FastMath. Thanks to Ken Williams.

This commit is contained in:
Thomas Neidhart 2015-10-19 22:01:50 +02:00
parent 5511eec3b4
commit 0dd621687d
2 changed files with 11 additions and 8 deletions

View File

@ -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".

View File

@ -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