improved javadoc on infinite values for nextAfter

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1061555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2011-01-20 22:38:35 +00:00
parent 9f30f38980
commit 5ac5c98b80
1 changed files with 4 additions and 2 deletions

View File

@ -3354,7 +3354,8 @@ public class FastMath {
* <code>d</code> is returned; otherwise the largest representable number
* strictly less than <code>d</code> is returned.</p>
* <p>
* If <code>d</code> is NaN or Infinite, it is returned unchanged.</p>
* If <code>d</code> is NaN or if it is infinite and direction does not
* bring it back to finite numbers, it is returned unchanged.</p>
*
* @param d base number
* @param direction (the only important thing is whether
@ -3418,7 +3419,8 @@ public class FastMath {
* <code>d</code> is returned; otherwise the largest representable number
* strictly less than <code>d</code> is returned.</p>
* <p>
* If <code>d</code> is NaN or Infinite, it is returned unchanged.</p>
* If <code>d</code> is NaN or if it is infinite and direction does not
* bring it back to finite numbers, it is returned unchanged.</p>
*
* @param f base number
* @param direction (the only important thing is whether