Changed the behaviour of xmlXPathEqualNodeSetFloat to return TRUE if a

* xpath.c: Changed the behaviour of xmlXPathEqualNodeSetFloat to
  return TRUE if a nodeset with a numeric value of NaN is compared
  for inequality with any numeric value (bug 309914).
diff --git a/xpath.c b/xpath.c
index cd4f82f..0029734 100644
--- a/xpath.c
+++ b/xpath.c
@@ -4577,6 +4577,9 @@
 			ret = 1;
 			break;
 		    }
+		} else {	/* NaN is unequal to any value */
+		    if (neq)
+			ret = 1;
 		}
 	    }
 	}