Le 21/01/2011 21:24, [email protected] a écrit :
> Author: sebb
> Date: Fri Jan 21 20:24:53 2011
> New Revision: 1062008
> 
> URL: http://svn.apache.org/viewvc?rev=1062008&view=rev
> Log:
> Correct list of unique methods
> 
> Modified:
>     
> commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/util/FastMath.java
> 
> Modified: 
> commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/util/FastMath.java
> URL: 
> http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/util/FastMath.java?rev=1062008&r1=1062007&r2=1062008&view=diff
> ==============================================================================
> --- 
> commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/util/FastMath.java
>  (original)
> +++ 
> commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/util/FastMath.java
>  Fri Jan 21 20:24:53 2011
> @@ -17,14 +17,17 @@
>  package org.apache.commons.math.util;
>  
>  /**
> - * Faster, more accurate, portable alternative to StrictMath.
> + * Faster, more accurate, portable alternative to {@link StrictMath}.
>   * <p>
> - * Additionally implements the following methods:
> + * Additionally implements the following methods not found in StrictMath:
>   * <ul>
>   * <li>{@link #asinh(double)}</li>
>   * <li>{@link #acosh(double)}</li>
>   * <li>{@link #atanh(double)}</li>
>   * <li>{@link #nextAfter(float,float)}</li>
> + * </ul>
> + * The following methods are found in StrictMath since 1.6 only
> + * <ul>
>   * <li>{@link #nextAfter(double,double)}</li>
>   * <li>{@link #nextUp(double)}</li>
>   * <li>{@link #nextUp(float)}</li>

nextAfter for float, also appeared in 1.6.
I just checked Sun javadoc, it seems it should be in fact
nextAfter(float,double) rether than nextAfter(float,float). This seems
strange to me, can someone check this ?

Luc


> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to