diff --git a/src/main/java/org/apache/commons/math/util/FastMath.java b/src/main/java/org/apache/commons/math/util/FastMath.java
index b9ebdc0a9..621284ae4 100644
--- a/src/main/java/org/apache/commons/math/util/FastMath.java
+++ b/src/main/java/org/apache/commons/math/util/FastMath.java
@@ -3354,7 +3354,8 @@ public class FastMath {
* d
is returned; otherwise the largest representable number
* strictly less than d
is returned.
- * If d
is NaN or Infinite, it is returned unchanged.
d
is NaN or if it is infinite and direction does not
+ * bring it back to finite numbers, it is returned unchanged.
*
* @param d base number
* @param direction (the only important thing is whether
@@ -3418,7 +3419,8 @@ public class FastMath {
* d
is returned; otherwise the largest representable number
* strictly less than d
is returned.
*
- * If d
is NaN or Infinite, it is returned unchanged.
d
is NaN or if it is infinite and direction does not
+ * bring it back to finite numbers, it is returned unchanged.
*
* @param f base number
* @param direction (the only important thing is whether