Author: erans Date: Wed Sep 5 21:52:42 2012 New Revision: 1381410 URL: http://svn.apache.org/viewvc?rev=1381410&view=rev Log: Javadoc.
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java?rev=1381410&r1=1381409&r2=1381410&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/util/ArithmeticUtils.java Wed Sep 5 21:52:42 2012 @@ -367,8 +367,7 @@ public final class ArithmeticUtils { /** * Computes the greatest common divisor of the absolute value of two - * numbers, using the "binary gcd" method which avoids division and - * modulo operations. + * numbers, using a modified version of the "binary gcd" method. * See Knuth 4.5.2 algorithm B. * The algorithm is due to Josef Stein (1961). * <br/> @@ -389,7 +388,7 @@ public final class ArithmeticUtils { * * @param p Number. * @param q Number. - * @return the greatest common divisor, never negative. + * @return the greatest common divisor (never negative). * @throws MathArithmeticException if the result cannot be represented as * a non-negative {@code int} value. * @since 1.1