You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2015/10/19 22:03:40 UTC

[math] [MATH-1237] Forgot one occurrence of the javadoc error.

Repository: commons-math
Updated Branches:
  refs/heads/master 435384cf1 -> 260a4392a


[MATH-1237] Forgot one occurrence of the javadoc error.


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

Branch: refs/heads/master
Commit: 260a4392a8a257cbb34fe3564301659589c05240
Parents: 435384c
Author: Thomas Neidhart <th...@gmail.com>
Authored: Mon Oct 19 22:03:25 2015 +0200
Committer: Thomas Neidhart <th...@gmail.com>
Committed: Mon Oct 19 22:03:25 2015 +0200

----------------------------------------------------------------------
 src/main/java/org/apache/commons/math4/util/FastMath.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/260a4392/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 765dcfb..fed5f53 100644
--- a/src/main/java/org/apache/commons/math4/util/FastMath.java
+++ b/src/main/java/org/apache/commons/math4/util/FastMath.java
@@ -4017,7 +4017,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
@@ -4025,7 +4025,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