Author: sebb Date: Wed Jan 12 11:07:42 2011 New Revision: 1058072 URL: http://svn.apache.org/viewvc?rev=1058072&view=rev Log: Javadoc grammar
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java?rev=1058072&r1=1058071&r2=1058072&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java Wed Jan 12 11:07:42 2011 @@ -469,7 +469,7 @@ public final class MathUtils { * Returns true if both arguments are equal or within the range of allowed * error (inclusive). * Two float numbers are considered equal if there are {...@code (maxUlps - 1)} - * (or less) floating point numbers between them (i.e. two adjacent floating + * (or fewer) floating point numbers between them, i.e. two adjacent floating * point numbers are considered equal. * Adapted from <a * href="http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm"> @@ -479,7 +479,7 @@ public final class MathUtils { * @param y second value * @param maxUlps {...@code (maxUlps - 1)} is the number of floating point * values between {...@code x} and {...@code y}. - * @return {...@code true} if there are less than {...@code maxUlps} floating + * @return {...@code true} if there are fewer than {...@code maxUlps} floating * point values between {...@code x} and {...@code y}. */ public static boolean equals(double x, double y, int maxUlps) {