diff --git a/src/operators.c b/src/operators.c
index 70dbc6c507b75e9e2bafd7537e7a1af9c0f07025..f1c51cbceb6132a5e9e5a906ff2aa2d37ea29527 100644
--- a/src/operators.c
+++ b/src/operators.c
@@ -1195,8 +1195,8 @@ PMOD_EXPORT void f_ne(INT32 args)
  *!     @type int
  *!       Successful iff the two integers are numerically equal.
  *!     @type float
- *!       Successful iff the two floats are numerically equal or if
- *!       both are NaN.
+ *!       Successful iff the two floats are numerically equal and
+ *!       not NaN.
  *!     @type string
  *!       Successful iff the two strings are identical, character for
  *!       character. (Since all strings are kept unique, this is