commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject [math] [MATH-1237] Fix javadoc of methods floorDiv, floorMod in FastMath. Thanks to Ken Williams.
Date Mon, 19 Oct 2015 19:59:26 GMT
Repository: commons-math
Updated Branches:
  refs/heads/master e14d9ce8e -> 435384cf1


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


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/435384cf
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/435384cf
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/435384cf

Branch: refs/heads/master
Commit: 435384cf132ab161bfedce0a3be96bccfb11f0b6
Parents: e14d9ce
Author: Thomas Neidhart <thomas.neidhart@gmail.com>
Authored: Mon Oct 19 21:59:13 2015 +0200
Committer: Thomas Neidhart <thomas.neidhart@gmail.com>
Committed: Mon Oct 19 21:59:13 2015 +0200

----------------------------------------------------------------------
 src/changes/changes.xml                                 |  3 +++
 .../java/org/apache/commons/math4/util/FastMath.java    | 12 ++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/435384cf/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 0ec27e7..1fb00e1 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -54,6 +54,9 @@ If the output is not quite correct, check for invisible trailing spaces!
     </release>
 
     <release version="4.0" date="XXXX-XX-XX" description="">
+      <action dev="tn" type="fix" issue="MATH-1237" due-to="Ken Williams"> <!--
backported to 3.6 -->
+        Fixed javadoc of methods {floorDiv,floorMod} in class "FastMath".
+      </action>
       <action dev="tn" type="add" issue="MATH-837"> <!-- backported to 3.6 -->
         "AggregateSummaryStatistics" can now aggregate any kind of
         "StatisticalSummary".

http://git-wip-us.apache.org/repos/asf/commons-math/blob/435384cf/src/main/java/org/apache/commons/math4/util/FastMath.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/util/FastMath.java b/src/main/java/org/apache/commons/math4/util/FastMath.java
index 1a294af..765dcfb 100644
--- a/src/main/java/org/apache/commons/math4/util/FastMath.java
+++ b/src/main/java/org/apache/commons/math4/util/FastMath.java
@@ -3927,7 +3927,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
@@ -3935,7 +3935,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
@@ -3957,7 +3957,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
@@ -3965,7 +3965,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
@@ -3987,7 +3987,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
@@ -3995,7 +3995,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


Mime
View raw message